@srihari Your solution is overkill... There is no need to extend the Application class for something as simple as this. Marcin's suggestion is much better and accomplishes the task with less work. You will need to have an activity anyway with your suggestion... You need something for the user to click on and start the app after all...
Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 9, 2011 at 2:44 AM, srihari babu <[email protected]>wrote: > My suggestion is that, extend Application class for ur application and > in onCreate() of application, start your service. > Regards, > Srihari babu. > > On May 9, 12:03 pm, Marcin Orlowski <[email protected]> wrote: > > Use activity, setup your service in onCreate() and finish() your activity > > there. No need to pop up any UI. > > > > Regards, > > Marcin Orlowski > > > > *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule > handy... > > *Date In Tray* <http://bit.ly/dateintraypro> - current date at glance... > > WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and > > *Twitter<http://webnetmobile.com/twitter/> > > * > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

