Why is onStart is not called?

前端 未结 1 1473
闹比i
闹比i 2021-01-25 08:23

I am trying to implement a very simple service example. The user inputs the value through EditText and clicks on Calculate Button. The Calculate button triggers a service which

相关标签:
1条回答
  • 2021-01-25 09:12

    You need to call Context.startService() in order to use onStart(): http://developer.android.com/reference/android/content/Context.html#startService(android.content.Intent)

    0 讨论(0)
提交回复
热议问题