abhi wrote: > I created a new thread and tried starting the service from there, but > the service is not being started from the new thread.
No, you start the thread *in* the service. All Android components are started on the "UI thread". If you want a component to use a background thread, that component has to start up the background thread. Though I really recommend AsyncTask over starting your own threads, in most cases. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

