• Post Reply Bookmark Topic Watch Topic
  • New Topic

Service does not start at all  RSS feed

 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!