Why is this simple service not starting?

前端 未结 5 1266
伪装坚强ぢ
伪装坚强ぢ 2020-12-15 02:13

I have a service with a handler that has to write \"Hello\" in the logcat every 5 seconds. But it doesn\'t write nothing on the logcat... It\'s like the service is not execu

5条回答
  •  执笔经年
    2020-12-15 02:52

    Hi the code you write is working fine. May be you forgot to add the following code in the manifest file before closing application tag.

    
        ....
        
    
    

提交回复
热议问题