[Advice] Best way to handle background process

by Cyril » Tue, 12 Apr 2011 07:23:47 GMT

Sponsored Links
 Hi, I got my first android phone since two week
And I'm starting my first real App.
My phone is a LG Optimus 2X and one of the missing thing is a
notification led for when there is a missed call, sms, email ect ...

So I'm wondering what's the best way to do this.

For know I've a broatcastreceiver for incoming sms, and the I call a
service that will light the phone buttons (don't bother about this
part, it's working).
But seems that this method will workin only for sms, phone calls, not

So know I'm thinking to used Listeners instead for everything, but
this mean having a service running  nonstop. Not sure it's the best
way ...

I hope I'm clear, and that my ennglish is not too bad.
Thx in advance


Other Threads

1. LocationManager.getLastKnownLocation Question

Hey devs,

Is there a way to get the time or date stamp of the last time the GPS
was updated?

2. API to temporarily disable orientation changes?

Users of my application will engage a feature that temporarily uses
the accelerometer. I would like to disable support for orientation
changes while this feature is active. Is there an API for this?

3. Old dock in 2.1 SDK?

4. How to automatically start service

5. Anyone know of a good way to generate tax information out of google checkout for Android sales?

6. how install boot.img in emulator?

7. How to upload HelloAndroid.apk directly to HTC Hero