How to run a class in background

by subrat kumar panda » Fri, 23 Apr 2010 16:57:42 GMT

Sponsored Links
 Hello all,
i am working in a Gps app.
the Gps is working fine, but i don't know
when i am doing other operations in device
the Gps is keep tracking or not.

so, how to run the specified Gps class in
background,so that what ever i do with my device or
nothing the Gps should always keep running(keep tracking).

anyboby knows the solution to the above
problem please help me.

Thanks in advance,

Best Regards,
Subrat Kumar Panda.


How to run a class in background

by XC He » Fri, 23 Apr 2010 17:07:57 GMT


Write a service

2010/4/23 subrat kumar panda <>:

Sponsored Links

How to run a class in background

by subrat kumar panda » Fri, 23 Apr 2010 17:38:51 GMT

 This is ok, but i am not able to implement it.
would you please give me an example .
means, how to run a "Hello world" program in background.

in my app there are multiple packages & in one package there
are multiple, i am little bit confused.
nevermind but i have tried before to do it ,
but i get failed.

Thanks in advance,

Best Regards
Subrat Kumar Panda


Other Threads

1. ImageView sometimes reponding to only double click instead of single click


I'm using an ImageView in my application. I've an AsynTask that is
executed onCreated() that downloads the image to be used in ImageView
from the web and stores it in a Hashmap as a softReference.

The first time when the activity is launched, the imageView works fine
on a single Click. The second time also it works fine on a single
But from 3rd click onwards, it is only responding to a double click.
Can someone please help me understand what the issue must be?
In my onClickListner, I've a a method that calls updateImage, which
loads the image from the hashMap which was populated from the

Any insight in this is appreciated.



2. Froyo emulator with Android 2.2.1


I've download the latest Android SDK and then created a Froyo
However, I saw that it still contains the build no. FRF91.

Is it possible to create a Froyo emulator with Android 2.2.1 (FRG83D)?

Thank you



3. tips for implementing simple tabview

4. AVD file repository?

5. Virtual screen size

6. Hardware spec app

7. [WTB] Otterbox Defender Series Case