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. For a project demonstration, any way to clone device screen on a monitor?

Using android / G1 as a platform in a game development class I'm
taking.  We need to be able to do project presentations, and was
wondering if there was any way to clone the device screen onto a
monitor with the USB cable somehow.  I would just load the game into
the emulator and run it from there, but the game itself uses motion
control, which would be difficult not only to set up, but also in
trying to demonstrate game play.

If thats not possible I suppose I can just take a video of the screen,
but its certainly not the most ideal solution.  Any help is
appreciated, thanks!

2. Accessing the Calendar

Hi There,

I'm trying to access the calendar data and according to
it gives the following examples as valid URIs:


The only problem is, Calendar doesn't exist in android.provider. Any
thoughts? I'm stumped. I've googled every permutation to find a
resolution for this. It's possible I've missed something :o)

I'm using Eclipse Galileo:

Eclipse Java EE IDE for Web Developers. Build id: 20090621-0832
Android Dev Kit 0.9.1.v200905011822-1621

-- C.


3. Text with different FILL and STROKE colours

4. Disable wlan interface after disconnect in WifiStateTracker

5. OpenLoopz Video Available

6. ?? HttpHostConnectException: Connection to refused ??

7. ?? HttpHostConnectException: Connection to refused ??