File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Mobile » Android
Bookmark "Service does not start at all" Watch "Service does not start at all" New topic

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
I agree. Here's the link:
subject: Service does not start at all
It's not a secret anymore!