Re: [android-developers] startForeground() - No notification required

2010-10-10 Thread Mark Murphy
On Sat, Oct 9, 2010 at 9:48 AM, Ravi Singh wrote: > I have a "Remote Service", which I am starting at Bootup of the > emulator. Why? > How can I set my service as a foreground service without using any > notification. You don't. A Notification is required. -- Mark Murphy (a Commons Guy) http:

[android-developers] startForeground() - No notification required

2010-10-10 Thread Ravi Singh
Hi, I have a "Remote Service", which I am starting at Bootup of the emulator. I want my service to keep running as a foreground service. For this, I am calling startForeground() from my service's onStartCommand(). I don't want any notifcation from the service. But startForeground() needs a notifica