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. Change linear layout programmatically - problem

In this case you to use FrameLayout.LayoutParams. Note that having a
FrameLayout as the parent of your content view is not guaranteed and could
very well change across implementations and/or versions.

I've tried but the same result. Now in DDMS log I have:

java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams

----- Original Message ----- From: "Peli" <> To:
"Android Developers" <an...

Sent: Sunday, January 11, 2009 3:39 AM Subject: [android-developers] Re:
Change linear layout progra...

There's this suspicious line: java.lang.ClassCastException:
android.view.ViewGroup$LayoutParams Hav...


2. Porting Android to BenQ MID S6

Hi everybody!

I'd like to know if anybody tryed or considered to port Android to
Atom based mids, like my BenQ MID S6. Anybody?
If you need detailed specifications on this mid just ask. A few info
on it:
x86 arch, it's an Intel Atom and out of the box runs on Midinux with
kernel 2.6.18-2 and all drivers and kernel source code are available
on the DVD shipped with the device.

Thank you everybody!

3. Suggestions for Image Libraries to use on Android.

4. Need help working with xml layout

5. can not find http proxy support for opencore http streaming playback

6. Setting a layout object style and gravity in code.

7. Proper Intent for an image/jpeg picture when using addIntentOptions?