阅读背景:

使用广播接收器连续检查Internet连接

来源:互联网 

I am using Broadcast Receiver to run a background process when Internet connection is available . I'm specifying "android.net.conn.CONNECTIVITY_CHANGE" in intent filter's action. My problem is that it is executed only once when my internet connection state is changed , whereas i want to run my background process whenever my internet connection is available . So to achieve this , what should i provide inside intent filter ?I am using Broadcast Receiver to run a backgrou




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

分享到: