File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Service does not start at all
 
Similar Threads
Menu problem
Application not run in the background
Toast context inside onFocusChangeListener
Beginning Android, activity / service question
Create service to run after time