[android-developers] How to get accurate time stamps from Android GPS location.

2012-04-22 Thread StarTraX
I'm trying to get the GPS time for a location using location.getTime on a location listener using GPS_PROVIDER in my requestLocationUpdates. I was expecting the provided time to be the time from the GPS clock - accurate to billionths of a second, but rounded to the millisecond. What I am getting

Re: [android-developers] how to make real full screen app on android 4.0.3?

2012-04-22 Thread N
try in activity class ActionBar actionbar = new ActionBar(); actionbar.hide(); Sent from my ASUS Eee Pad Baodong Chen wrote: >hi,all: >i have an app on android ics for pad,and i want my app to cover the >whole >screen,but >android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" >and se

Re: [android-developers] how to make real full screen app on android 4.0.3?

2012-04-22 Thread N
Oops typo in my previous post should be; ActionBar actionbar = getActionBar(); actionbar.hide(); thats as close to fullscreen as you can get on a tablet i believe.. Sent from my ASUS Eee Pad Baodong Chen wrote: > > >在 2012年4月21日星期六UTC+8下午7时32分29秒,Mark Murphy

[android-developers] Needs help on Oauth

2012-04-22 Thread Talha Qamar
Hi i wanna implement oauth(open standard for authorization) for a simple websitei have gone through from the theoretical portion but couldn't implement it completely..My main objective is that any one login with your facebook account(id and password) on specific websitePlease guide me i

[android-developers] Are custom xml attributes supported on current aapt version ?

2012-04-22 Thread Gil Eichenbaum
I just upgraded my SDK and wanted to find out if custom attributes are supported now, or should I get a patched aapt version like i had to do before? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

Re: [android-developers] Are custom xml attributes supported on current aapt version ?

2012-04-22 Thread Mark Murphy
If you mean custom attributes in an Android library project, then, yes, it is supported. However, you need to use: xmlns:foo="http://schemas.android.com/apk/res-auto"; to tie foo: attributes to your library, rather than the namespace that references your package (only for apps, not libraries). O

[android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-22 Thread lbendlin
This has nothing to do with Android. GPS chipset features are OEM specific. Mobile phones use very cheap GPS chipsets with emphasis on power saving, not performance. If you need better GPS accuracy then get a 10Hz receiver. but even these are cheating, most of the time they just do intrapolat

[android-developers] Re: How to upload large video files to FTP Server

2012-04-22 Thread lbendlin
Make sure you set the transmission mode to binary before starting the FTP put. Default mode is ascii. Explore the restart functions of the FTP protocol. On Saturday, April 21, 2012 1:28:39 AM UTC-4, ashish wrote: > Hi guys i am getting a problem on uploading large video files to ftp > server

[android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-22 Thread RichardC
I think that the original question is relavent to this list. Location.getTime()is an Android API and it is supposed to return the time of the GPS fix in milliseconds; this would lead me to assume that it was acc

[android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-22 Thread Panam
Just to let you know, I am currently experimenting with GPS on a S Galaxy I whose GPS is off about 24 hs in the future (+-some seconds) and it does not seem to depend on the system time (adjusted the system time by some minutes without effects). This seems to be a systematic error. Btw. does som

[android-developers] Re: how to get the average speed with GPS android

2012-04-22 Thread Panam
Does this help you: mytracks.appspot.com/? Sources are available as well -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: Someone use GridLayout (ADT-17) in v7?

2012-04-22 Thread Flo
I'm also trying to integrate the support library for GridLayout into my application. To test the integration I created a small project where I copied the layout from the previous post into the layout file. There are no errors or anything but when I check the layout in the visual editor or by runnin

Re: [android-developers] Re: Someone use GridLayout (ADT-17) in v7?

2012-04-22 Thread Flo
I'm also trying to integrate the support library for GridLayout into my application. To test the integration I created a small project where I copied the layout from the previous post into the layout file. There are no errors or anything but when I check the layout in the visual editor or by ru

Re: [android-developers] Needs help on Oauth

2012-04-22 Thread Kristopher Micinski
This has nothing to do with any of the lists at which you've targeted this cross post. Kris On Sun, Apr 22, 2012 at 4:51 AM, Talha Qamar wrote: > Hi i wanna implement oauth(open standard for authorization) for a simple > websitei have gone through from the theoretical portion but couldn't >

Re: [android-developers] Re: AsyncTask in Android 4.0

2012-04-22 Thread FiltrSoft
I have to agree with Nathan, I've never read anywhere that AsyncTasks should only be used for "short lived" tasks (a couple seconds). The official documenation says "This class allows to perform background operations and publish results on the UI thread without having to manipulate threads and

[android-developers] Re: Activity stack.

2012-04-22 Thread joebowbeer
What happens depends as much on how the "post to wall" activity is declared in its AndroidManifest, and how it is intended to be used. I suggest you use the documented methods, for example, see Hackbook for Android: http://developers.facebook.com/docs/mobile/android/hackbook/ On Saturday, Apr

[android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-22 Thread lbendlin
http://leapsecond.com/java/gpsclock.htm That explains the +/- some seconds. As I mentioned already, GPS chips on phones are cheap and cheerful. They use all kinds of dirty tricks to cut corners (AGPS etc). You probably won't find two smartphone models (even from the same OEM) that have the sam

[android-developers] [in app purchase]: How would I recover a erroneously deleted in app purchase product id?

2012-04-22 Thread XYRALITY
Hi, we are in the midst of setting up the products we want to sell as in app purchase for our game in the Google Play Store. Unfortunately a coworker made a mistake as he saved a products purchase type as managed instead of unmanaged. As a subsequent change of this was not possible he deleted t

[android-developers] Why my phone must connet the power that the APP can work well?

2012-04-22 Thread kaixinyang
Why my phone must connet the power that the APP can work well? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-de

[android-developers] Update ListView items using a timer

2012-04-22 Thread Jbassking
I have a ListView with a custom adapter. The adapter uses a custom object for it's data. I have a TextView that needs to be updated every few seconds using a timer so I added a Timer to my custom object and it sets the text on the TextView. The problem is that is TextView never reflects the change

[android-developers] ndk, shared library's global variables persist

2012-04-22 Thread Anatoliy Lysenko
Hi, In my NDK project I have two global variables, int and pointer. When I install my app and run it for first time, all global variables are empty. When I exit app and start it again, in both variables stored values from previous run. When I start application, Activity::onCreate will call native

[android-developers] Injecting code into a DEX file

2012-04-22 Thread atta ur rehman
Folks, I have just started to work on an idea where I'd want to inject some additional cross cutting concerns -- mainly security with some logging -- to an existing APK files. The closest thing I have encountered online is this SO thread: http://stackoverflow.com/questions/5829424/injecting-code-i

[android-developers] client server socket: a beginners question

2012-04-22 Thread ikimatsu noob
Hello everyone, im terribly sorry if this happens to be a repost. Im new to android development and i have been assigned a project about live video streaming fron android to a server. My question is very simple: In theory you need to run the server java file before running the client side. But if

[android-developers] Content provider with multiple tables

2012-04-22 Thread Andreea Sandu
I have a question about content providers, or maybe I didn't understand it well. I have an application which uses a content provider. I know the number of tables needed and their names only at run-time (I use Java Reflection), but by then the content provider has already been initialized. How

[android-developers] Re: Linked Developer accounts risk?

2012-04-22 Thread MartiniSurfer
I'm worried about that too. If you have any info about that question, please share it here, I think it would be useful for many users. Thanks! On Thursday, March 29, 2012 8:22:29 PM UTC+2, Arshad Fendi wrote: > > Hello every one. > > I have had this question in mind and cant find any answer for

[android-developers] when LOG_TAG is NULL, what happened to __android_log_print and

2012-04-22 Thread Aylwyn Lake
In Android 4.0.3, I modified the file "system/core/include/cutils/log.h" I added the code below: /* * my log for trace code */ #ifndef MYNO #define MYNO static long myNo = 0; #endif // #ifndef MYLOG #define MYLOG(...) \ __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "***It's My Log!***

[android-developers] Communication

2012-04-22 Thread DOV
Hi, I had started building my primitive Layout in eclipse and it was pretty easy and common sensed. My idea, deals three primitives (Local Android , TinyDB Server and local host) communicates each other in Human Time (No need for RealTime - Games\Economy etc...) in one direction [optional for

[android-developers] Enable User Friendly keyboard based on input

2012-04-22 Thread Frontendboss
User Friendly Keyboard based on input type, Is this a feature provide by os, or it is based on the browser or is it based on device? It works perfectly on IOS, is it possible to enable this for Andriod? -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Location information for a telephone number

2012-04-22 Thread anish
How to get Location information for a telephone number. Basically i want to differentiate between the STD, local and ISD calls for both incoming and outgoing calls. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Access to graphics driver

2012-04-22 Thread Alexander Schwerdtner
Hi, I am not sure whether I am right here in this group. If I am wrong please let me know where I can post my question. There are several 3D applications available for the Android platform and I would like to see them stereoscopically. One option is to have the access and the permission to cha

[android-developers] Consumir WebService com KSOAP2

2012-04-22 Thread Alexandre
á estou há 1 mês pesquisando sobre o assunto e tudo o que consegui até agora foi desenvolver um WS em Java, que realiza a consulta no MySQL e retorna os dados de Latitude e Longitude de uma tabela de locais específicos. Preciso fazer com que minha aplicação consuma o WS e coloque o retorno do WS em

[android-developers] Scrollable tabs

2012-04-22 Thread ang1
Hi everyone, Anyone has a clue on how to implement "scrollable tabs" in actionbar ? like mentioned in "Action Bar Elements" under http://developer.android.com/design/patterns/actionbar.html and http://developer.android.com/design/building-blocks/tabs.html? I'm only managing to get info on "fixed

[android-developers] Spinner In TabWidget Bad Token Exception

2012-04-22 Thread Aj
I'm fairly new to Android and Java for that matter, and am having a context issue - I have a Spinner within a TabWidget within another TabWidget, and on the code side I have my main class which is a TabActivity, in which I set the intent of a particular tab to another TabActivity, in which I set th

[android-developers] Regarding developing a library module for android

2012-04-22 Thread Britz
hi all, I would require to develop a library module for android say a cryptography module which can be used by other application developers. An effort to enable code re-usability. Kindly help me with ideas how to achieve this and how would this fit into the android architecture. Am not supposed to

[android-developers] sqlite.old?? somebody see this!!!

2012-04-22 Thread Diego Ramirez
Hey guys i have a android app with a sqlite (v3) db Sometimes the file change his extension myfile.sqlite to myfile.sqlite.old. i cant find the reason, its make me crazy beacuse its critic for my app. someone saw something similar?? Sorry for my English. Tanks -- You received this message beca

[android-developers] searchview theming issue

2012-04-22 Thread Lars
When creating a searchview in an android 4.03 when using the theme holo light with darkactionbar The style of the drawables of the searchview Doesn't match. If have already reported it as a bug. http://code.google.com/p/android/issues/detail?id=29288 Is there a way to set the style of the search

[android-developers] searchview theming issue

2012-04-22 Thread Lars
When creating a searchview in an android 4.03 when using the theme holo light with darkactionbar The style of the drawables of the searchview Doesn't match. If have already reported it as a bug. http://code.google.com/p/android/issues/detail?id=29288 Is there a way to set the style of the search

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-22 Thread Alan Smith
I could probably knock you up one quite quickly as I'm currently spending a lot of time in that space. Could you be more specific about your requirements? Maybe communicate directly with me through the info {at} gpsanimator {dot} com On Mon, Apr 23, 2012 at 12:00 AM, Panam wrote: > Just to let y

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-22 Thread Alan Smith
I can assure you that the time reported by the quoted gpsclock site is NOT the time reported by GPS devices. It's really easy to demonstrate: Compare what you see on your GPS with what's displayed from the web site. The quoted time is around 15 seconds ahead of the time from the GPS device. I wond

[android-developers] Re: searchview theming issue

2012-04-22 Thread dnkoutso
When you instantiate the SearchView use getThemedContext() instead of getContext(). On Sunday, April 22, 2012 2:48:04 PM UTC-7, Lars wrote: > > When creating a searchview in an android > 4.03 when using the theme holo light with darkactionbar > The style of the drawables of the searchview > Doesn

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-22 Thread lbendlin
The OEM for your device decided to use UTC rather than GPS time. On Sunday, April 22, 2012 6:05:12 PM UTC-4, StarTraX wrote: > > I can assure you that the time reported by the quoted gpsclock site is NOT > the time reported by GPS devices. It's really easy to demonstrate: Compare > what you see

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-22 Thread StarTraX
Ibendin, I think it's good practice to employ words like "perhaps", "possibly" or "maybe" when speculating on technical subjects. It's less confusing to the reader and makes it clear that one is not an expert on the matter. On Monday, April 23, 2012 9:42:50 AM UTC+10, lbendlin wrote: > > The O

[android-developers] Where do I feed the list?

2012-04-22 Thread Alexandre
Hi all, Good evening, I have an application where I display overlays on a map. I have a class that consumes a webservice that I created myself that does the following: - Connects to the database and returns the Latitude and Longitude of Overlays. So far so good, have brought the data correctly,

[android-developers] Cannot change the visiblity of an imageview

2012-04-22 Thread Dipesh Sudershan
I have a listview using a custom cursoradapter to fill the listview. The row.xml http://schemas.android.com/apk/res/ android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" > As y

[android-developers] LatinIME buggy prediction for Latin languages with undefined characters

2012-04-22 Thread Drazen Navratil
The problem with new ICS LatinIME I noticed is that it does not recognize unicode characters from languages like Czech or Croatian properly. Gingerbread LatinIME worked fine. In examples I'm refering to LatinIME versions in which I included Croatian dictionary First, examples of expected behav

[android-developers] Android Device is not Listed in Android Device Chooser

2012-04-22 Thread Chirag Raval
Hello to all, Yesterday i purchased new I Ball Andi 2 android device . Then after i tried a lot to find that device driver , but i failed to find . My problem is that my andi 2 device is not listed in android device chooser when i run the application. What I tried for that ? 1) Enable Usb Debu

[android-developers] Android HTTP Client freezes

2012-04-22 Thread Chris Hoekstra
I'm experiencing some odd behavior in my HTTP requests. I have some users that are saying that this call isn't ever coming back (the spinner marking it's asynchronous call never goes away). I have seen this happen before, but I attributed it to the emulator going through Charles Proxy. I have

[android-developers] YouTube

2012-04-22 Thread Coty Fitch
On the Droid2, whenever I'm loading a video on YouTube, and I get a text message (via Chomp SMS), or a Facebook update from Friendcaster, it interrupts my video load and I have to start the whole video over again, even if its a 15 minute video and I'm 14 minutes in. Its really very annoying, but I

[android-developers] Re: Access denied error while trying to install new API

2012-04-22 Thread Colin Warwick
Thanks, Uday (Dave)! Worked for me! On Tuesday, January 3, 2012 3:15:06 PM UTC-5, Uday (Dave) wrote: > > Right click on the sdkmanager.exe file & select the option 'Run as > Administrator'. Your problem is solved. > > -Dave > > On Dec 30 2011, 11:09 pm, assefa wrote: > > Hi, > > > > Not su

[android-developers] onKeyDown is not recognizing on tab view

2012-04-22 Thread chethan.H.B chethan.H.B
Hello friends From last many days i am facing a problem that, how to code for back key when there is a tab view. i have already coded below code but this function is never called. public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode ==

[android-developers] Raw data from camera in android 2.3

2012-04-22 Thread anil
Hi All, I'm facing problem when capturing RAW data in Android 2.3.6. Im using Galaxy S2 device. in the method of PictureCallback rawCallback = new PictureCallback() { public void onPictureTaken(byte[] data, Camera camera) { } the data im getting is n

[android-developers] Add Weekly,Fortnightly,Monthly Recurring events to calendar.

2012-04-22 Thread Deepak
I'm trying to add event to the calendar programatically in Android API 11. It does not seem to be working, I've pasted the code, also didn't find anything on adding fortnightly events. Please if anyone can tell what is the issue in the code below. ContentValues event = new ContentValues();

[android-developers] Listview show funny stuff

2012-04-22 Thread Ricardo Rivera
I a listview connecto to a datbase and is showing in the list the value of the record for the app. Something like com.software.myapp.client.client@44abc0 com.software.myapp.client.client@44abc1 etc in the list I want to show only to show the Client Name Here is my Table scheme Client Id,Name,A

[android-developers] Can I fetch the time spent in sleep mode/idle mode on Android?

2012-04-22 Thread Rina_xia
Hey, I have a question can Android provide any methods I can use to fetch the time the time spent in sleep mode/idle mode and for an app the time it spends in the foreground and background. Also the time spent in making a telephone call? Thank you so much! -- You received this message because

[android-developers] Novato

2012-04-22 Thread Carlos Solano
Hola, soy un estudiante de secundaria y estoy tratando de entrar en el mundo de la programacion. Necesito ayuda, quiero iniciar la carrera en programacion y quiero crear una alplicacion que sea un examen de varias opciones (3 mas o menos) por ejemplo hacer la pregunta y que puedan haber tres opcion

[android-developers] Service development howto, pointer, tutorial?

2012-04-22 Thread Manson Thomas
Hi, I need to implement a background service that connect to a JMS Server, listen for messages and do some stuff (send sms for a start, maybe call and play an audio file but not required for now) this is my main purpose, after I would need to implement a user interface to display some stat

[android-developers] backup & restore in android phone

2012-04-22 Thread Anton -
good day everyone just want to quick check, in android phones it is stated that the data is sync./backed up to google account automatically. i have verified also in the privacy settings. when my phone have problematic error (unexpectedly unable to receive phone call, while other communication fun

[android-developers] Screen orientation problem at transparent activity.

2012-04-22 Thread Cheoloh,Park
When a run transparent activity after normally destroy fullscreen landscape activity which is not yet activityDestroyed, transparent activity is shown landscape. please see my reported bug. http://code.google.com/p/android/issues/detail?id=28927 Thanks. -- You received this message because you

[android-developers] android image enhancements and image processing issues

2012-04-22 Thread Dominik Schaudel
the background to my question is: i am currently developing a system for the detection and recognition of traffic signs. for this i use color segmentation in hsv color space. the system works well via webcam und desktop pc. i have ported this algorithm to android via java native interface / andr

[android-developers] File upload in android app.

2012-04-22 Thread Буяндалай
Hello all. i am create App Engine Connected Android Project. and i want file upload. But i don't know how. please help me. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.

[android-developers] android camera and image processing / control image enhancement

2012-04-22 Thread Dominik Schaudel
The background to my question is: I am currently developing a system for the recognition and detection of traffic signs. For this I use colour segmentation in the hsv colour space. The system/algorithm works very well via webcam and desktop pc. I have ported this algorithm to Android via jni/

Re: [android-developers] Should AsyncTask.cancel(true) work?

2012-04-22 Thread Håvard Christensen
Updating the documentation to clearify the fact that it works like this, would be a very good thing. I haven't run into this issue myself, but the more clearification there is in documentation, the better. Makes all devs happy. On Tuesday, April 20, 2010 10:42:49 PM UTC+2, Nathan wrote: > > Caus

[android-developers] GestureOverlayView on a Custom view

2012-04-22 Thread Hung Do
Hi I just want to get a feel if this is actually possible. I plan on building a game with the GestureOverlayView separate from the actual game view where all the animations and drawing is done. So far I am doing both in a Custom GestureOverlayView but there are quite a bit of performance issues wh

[android-developers] Samsung Y Duo

2012-04-22 Thread Eduardo
Hi, Its my first post. I write: final TextView text = (TextView) findViewById(R.id.textView1); TelephonyManager tel = (TelephonyManager) getSystemService(TELEPHONY_SERVICE); String OperatorName= tel.getNetworkOperatorName(); text.setText(OperatorName); I expected

[android-developers] accessory examples

2012-04-22 Thread Grégory Starck
Hi, Though I've done myself some googlings but unfortunately without good results (can be due to confusion with the word "accessory" I think). I'm looking for links where I can find websites (as review or as shop, whatever) that show devices (of any kind) that are compatible with the USB "Acce

[android-developers] As a first step a bitmap image to a field blod

2012-04-22 Thread InFeRNo
As a first step a bitmap image to a field blod Byte [] imagenB = bmp.toString ()). GetBytes (), but to save only is recorded as [B @45786532 to read it I get the imageview in black but without error somebody help me. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] what's layout-sw680dp-w1000dp means?

2012-04-22 Thread Gink Labrev
I never heard of it The official documentation about supporting multiple screens can be found here: http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts it does not mention swdp-wdp schema, only swdp or wdp. Em 17 de abril de 2012 04:37, wei li escreveu: >

[android-developers] reconnaisance d'une voie

2012-04-22 Thread psyco
s'il vous plait je voudrais savoir comment comparer deux fichiers audio sous android est ce que les api google contienne ce genre de traitement ?? mon problème a moi c de reconnaitre la vois d'une personne !! merci de me repondre -- You received this message because you are subscribed to the Goog

[android-developers] Enabling wifi network

2012-04-22 Thread Devi
Hi, I'm using wifiManager.enableNetwork to connect to particular wifi network, but it's taking around 10 seconds to enable the desired network. Is there any work around to reduce this 10 seconds time while connecting -- You received this message because you are subscribed to the Google Groups "A

[android-developers] May I join in this group?

2012-04-22 Thread Jackichan
Dear Sir, I'm currently an android developer. This is one of the largest Android Developers community all over the world. Therefore, I think I could contribute my little effort to your community I would deeply appreciate it if you approve for me, Finally, despite the bad or good result, Thanks so

[android-developers] Re: How to reduce size of JPEG Image in Android

2012-04-22 Thread Gink Labrev
Hi, I think the code below can help: private byte[] compressPhoto(Bitmap bm) { ByteArrayOutputStream bos = new ByteArrayOutputStream(); bm.compress(CompressFormat.JPEG, 75, bos); return bos.toByteArray(); } Cordially, Gink On 17 abr, 01:04, perumal316 wrote: > Hi Al

[android-developers] Android GridView----not able to get correct item by touch event

2012-04-22 Thread h...@isb.co.jp
I implemented a gridview with 7 rows and 3 columns(7,3). I am trying to get an item in gridview on touch. (want to get an touched item not clicked item) I can get an item but it is not the one I want. Example: When I touched (2,2), I should get the item in (2,2). Instead, I got the item in (3,2)

[android-developers] GridView---problem to get item on touch

2012-04-22 Thread h...@isb.co.jp
Hi,everyone. I am new to android. I implemented a gridview with 7 rows and 3 columns(7,3). I am trying to get item in gridview on touch. I can get item but it is not what I want. for example when I touched (2,2),I should get (2,2) but I got item of (3,2) . Please check my source code as follow

[android-developers] Honeycomb - Detect scroll stop in HorizontalScrollView

2012-04-22 Thread grandmasterfle...@aol.com
I've searched for ages and not found a reasonably simple answer to my problem: I have a HorizontalScrollView in my layout and need to detect when the scroll animation has ended, so I can update which part of the HorizontalScrollView is currently visible and create a time stamp when this position wa

[android-developers] How can i kill self process?

2012-04-22 Thread Eliran
Hi, I got a service runing it's own process and when i stop the service from the app activity the service dies but the process holding the service stay's alive and dos not end. I wanna kill the process from the service's onDestroy() function. Can i do that? Is it the right way to manage things?

Re: [android-developers] Should AsyncTask.cancel(true) work?

2012-04-22 Thread Håvard Christensen
I still think the documentation could be clearer. On Tuesday, April 20, 2010 10:42:49 PM UTC+2, Nathan wrote: > > Cause it doesn't. > > I have a service running an Asynctask to do some work. > > I bind to it from an activity and call a cancel method. The service, > in turn, calls AsyncTask.canc

[android-developers] Re: Is there any way to detect hdmi plugged in and show different UI on phone and different on HDMI TV

2012-04-22 Thread GuyS
Motorola has an API to detect HDMI desplay : http://developer.motorola.com/docs/motorola-hdmi-status-api/ בתאריך יום שישי, 4 במרץ 2011 23:09:22 UTC+2, מאת Rohit Ghatol: > > Like we have seen Powerpoint having two views > 1. Presentation View - Full Screen Presentation on Projector > 2. Host Vie

[android-developers] Get notifications

2012-04-22 Thread Chen Simon
Hello, Is there any API to get the count of notifications? Thanks a lot! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Should AsyncTask.cancel(true) work?

2012-04-22 Thread Romain Guy
If doInBackground() is already running, cancel can only stop the operation if your implementation periodically check for isCancelled(). For instance: for (int i = 0; i < count; i++) { if (isCancelled()) break; doStuff(i); } In addition, the parameter passed to cancel can be used to interrup

[android-developers] Neven FaceDetection Does Not Work In Portrait Mode Video

2012-04-22 Thread jaiprakash
We have integrated neven face detection library in our camera application. It works well and recognize all the faces when we feed landscape preview frame to neven library. But it does not recognize any faces when we feed portrait preview frames. Does anybody has more information about this? Thank

[android-developers] gallery issue on 3.2.2

2012-04-22 Thread chillipig
Hi Guys, I have an issue with a gallery view only on the new Motorola Xoom 2 which is running 3.2.2. The gallery has each thumb on top of each other so you can only see one image at a time. Here is the code: XML looks like this: Adapter looks like this: public class MoviesGal

[android-developers] How to specify WPS authentication mechanism before inviting a member to a P2P group?

2012-04-22 Thread Kaustav Dey Biswas
Hi, I am trying to write an app which first forms a P2P group, and then invites a third member to it. The Android SDK exposes only the WifiP2pManager::connect() call for both these operations. The call translates to p2p_connect for the first peer addition, and to p2p_invite for any subsequent

[android-developers] Get access to the transmit power when using the wifi tethering

2012-04-22 Thread Jibin Ou
Hello, is anybody familiar with the wifi tethering? Actually, I want to get access to the transmit power of the wifi tethering signal. As far as I know, the transmit power is able to be changed in part of devices. I just want a way to get access to the current value of the transmit power. Then

[android-developers] Get the Google ID used to download the application

2012-04-22 Thread Jonathan Nuñez Aguin
How can i find out which google account downloaded the application? This question is related to Get the Google ID used in an in-app billing purchase and http://stackoverflow.com/questions/10245250

[android-developers] As close my android application

2012-04-22 Thread julian Garcia
I need to know how I can close my android application and all its activities . Any ideas that might help me do this? thank you very much -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] How to specify WPS authentication mechanism before inviting a member to a P2P group?

2012-04-22 Thread Kaustav Dey Biswas
Hi, I am trying to write an app which first forms a P2P group, and then invites a third member to it. The Android SDK exposes only the WifiP2pManager::connect() call for both these operations. The call translates to p2p_connect for the first peer addition, and to p2p_invite for any subsequent

[android-developers] Totally transparent, always-on-top, clickable, dialog during incoming / outgoing calls

2012-04-22 Thread José Pacheco
Hello all, I am new to Android. I am trying to display an always-on-top clickable dialog during incoming / outgoing calls. I am able to display a dialog, on top of the incoming / outgoing screens, but when the call changes state the non-dialog portion of the screen is not updated. For instance, w

[android-developers] Cache data in SqlLite or keep querying the web

2012-04-22 Thread Jethro Borsje
Hi all, I am building a new app which gets (and updates) data from one of Googles API's. Now I and am struggling with the following question: should I make an effort to cache data in SqlLite and keep it in sync, or should I use the API and do a 'web query' every time the user opens an activity? I

[android-developers] ANDROID BASED VEHICLE TRACKING ISSUES on a remote Server

2012-04-22 Thread JOHN BOSCO BAHUNGIREHE
Hi friends; Have got a problem in my code and some how confused of how t include some of the features in the project. The project is about vehicle tracking using android,when I try to test the attached code it runs with no error but the does not update the location to my current position on the

[android-developers] Android overlay between layout boundaries without using absolute layout?

2012-04-22 Thread user123
I have to position an overlay a bit shifted to the left of the containing layout's left margin. The overlay is an ImageView. I tried using negative margin. This shifts the ImageView ("bounding box", can see it with Android layout manager) but not the image! I posted a better description of this p

[android-developers] Android: WIFI and Mobile internet confliction

2012-04-22 Thread JibW
Hi, I posted my problem in detail in stackoverflow, but didn't get any positive answer for the problem. The link to the problem is as follows. http://stackoverflow.com/questions/10192974/android-wifi-and-mobile-internet-confliction If someone can give me any Idea why this happens, really grateful.

[android-developers] Video viewing?

2012-04-22 Thread Jonathan
I just need 12 seconds of your time to see if you can watch a quick video generated from my app, please ... and some quick feedback? Post here if you can help me OR private message me your email address and I'll email you the file from the app. I simply need to know if it plays or won't download

[android-developers] Re: How to auto start capturing of picture using native camera?

2012-04-22 Thread Julio Cesar
Hi perumal316, for u take picture automatic is necessary that you call the method "takePicture" of your instance of de camera on method onCreate of your application. Remember that the "takePicture" method start one thread and if you need restart your preview, you need do this after save de fil

[android-developers] With Renderscript, using the rs_script_call structure to restrict the range of the allocation that is operated upon during a rsForEach call

2012-04-22 Thread Massycat
Using Android's RenderScript, I am trying to restrict the range of the allocation that is operated upon during a rsForEach call. According to the documentation you can achieve this by passing in a rs_script_call structure but whenever I try this the application crashes. How is the rs_script_cal

[android-developers] Storage Media Problem

2012-04-22 Thread Mamatha K
Hi, I am new to Android Development. I am using Android ICS on blaze eval board. We are booting using SD Card. On SD card i had created 2 FAT32 Partitions and one EXT3 partition. one of the FAT32 partition is boot partition containing the MLO, UBoot and Kernel binaries and t

[android-developers] (Heap Corruption)Parameter passed to anonymous AsyncTask goes out of scope or GC-ed in ICS.

2012-04-22 Thread mark robinsion
I'm in doubt that Parameter passed to Anonymous AsyncTask may go out of scope or would be Garbage Collected before AsyncTask 's doInBackground() gets called and behaves randomly, end up in heap corruption. Below is an example(non AsyncTask, we can assume Cat() is AysncTask()) and its ByteCode equi

[android-developers] View animation doesn't change touch area

2012-04-22 Thread JulienDev
Hi, After a TranslateAnimation, the OnClickListener on view translated is not translated. I tried overriding getHitRect in a custom LinearLayout but without success. I also tried to use a touchdelegate and all other suggestions found on the whole internet without success :) TranslateAnimation ope

Re: [android-developers] need help working with very large (photo) bitmaps

2012-04-22 Thread Massycat
> > Perhaps there's some method of processing the photo and filter bitmaps in > chunks in a way I'm not aware of? Something that doesn't eventually end > up right back at an eventual out of memory error? Or some other method? > Have a look at BitmapRegionDecoder

[android-developers] have picture taken show in preview and save on request

2012-04-22 Thread K M
I have an activity that starts a camera and after the picture is taken it shows an alert dialog so user can choose save, cancel, retry. I cannot seem to delete the picture data on cancel, nor transfer the image to another activity, in the same app, on save. There is no error showing, it just doesn'

[android-developers] USB Power to Android Device from USB accessory

2012-04-22 Thread kevin.kre...@gmail.com
Hello, We have an android accessory, which acts as USB host supplying power to the android mobile device. We'd like to conserve our battery. Optimally the accessory power lasts as long as the battery has charge (they die a twin death). To do this I had planned on turning off power to the android m

  1   2   >