阅读背景:

试图通过服务中的活动广播来接收字符串,而不是看到任何内容

来源:互联网 

Here's my code below. The first bit of code is for my activity. I put a click listener on a button in that activity that starts my service. Right now, I just want to see that I can recieve strings from that service so here is my code trying to do that. I put a "hello world" broadcast in the oncreate of the service to test. Can anyone spot the issue? The service code is below the activity code.Here's my code below. The first bit of code is




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: