wood burning stoves 2.0*
The moose likes Android and the fly likes Service does not start at all Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Service does not start at all" Watch "Service does not start at all" New topic
Author

Service does not start at all

Naishadh Parmar
Ranch Hand

Joined: Jun 02, 2011
Posts: 95

I have a service.
I have implemented the onCreate(), onStartCommand(), onBind() and onDestroy() methods.
I have placed 'Toast.makeText().show()' under onCreate() and onStartCommand().
I have also placed a 'Toast.makeText().show()' in the Activity which starts this service.
But none of the Toasts show up.
Which means that the Service is not starting.
Can somebody help me
 
wood burning stoves
 
subject: Service does not start at all