Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Service does not start at all

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic