[android-developers] services in android

2012-07-10 Thread Ashu
can we create a service without any activity i hav an application of email sending automatically so i made a activity and run it as a service when my device is switched on after booting it start automatically and display the ui of activity,, i dnt want dis ui,,what shall i do help me i want

Re: [android-developers] services in android

2012-07-10 Thread Justin Anderson
can we create a service without any activity Sounds like some sort of spyware to me... Fortunately, newer versions of Android have made this impossible. i hav an application of email sending automatically so i made a activity and run it as a service when my device is switched on after booting

Re: [android-developers] services in android

2012-07-10 Thread Kristopher Micinski
On Tue, Jul 10, 2012 at 11:28 AM, Justin Anderson magouyaw...@gmail.com wrote: can we create a service without any activity Sounds like some sort of spyware to me... Fortunately, newer versions of Android have made this impossible. I disagree.. We typically use services devoid of UI for

Re: [android-developers] services in android

2012-07-10 Thread Justin Anderson
He has a service that he wants to run without having any interaction from the user whatsoever... He wants it to be completely transparent to the user, meaning they do not know it is running. That doesn't sound like spyware? Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] services in android

2012-07-10 Thread Kristopher Micinski
On Tue, Jul 10, 2012 at 11:42 AM, Justin Anderson magouyaw...@gmail.com wrote: He has a service that he wants to run without having any interaction from the user whatsoever... He wants it to be completely transparent to the user, meaning they do not know it is running. That doesn't sound like

Re: [android-developers] services in android

2012-07-10 Thread Dianne Hackborn
On Tue, Jul 10, 2012 at 8:28 AM, Justin Anderson magouyaw...@gmail.comwrote: i want my app should start in background without displaying ui, That is possible, but must be done through an Activity... Use Theme.NoDisplay on your activity, have it start your service, and then finish. No, that