My application want to know whether Data has been enabled or not. That is when a user enable the data (Click the Settings->Data Manager->Data Delivery->Data Enabled), what is the name of broadcast message the system send out ?
Thanks a lot.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
http://www.androidjavadoc.com/1.0_r1_src/android/net/MobileDataStateTracker.html
MobileDataStateTracker(149): default Received state= DISCONNECTED, old= CONNECTED, reason= dataDisabled, apnTypeList= default,suplhttp://www.androidjavadoc.com/1.1_r1_src/android/net/NetworkStateTracker.html
NetworkStateTracker(149): setDetailed state, old =CONNECTED and new state=DISCONNECTEDhttp://www.devdaily.com/java/jwarehouse/android/services/java/com/android/server/ConnectivityService.java.shtml
ConnectivityService(149): ConnectivityChange for mobile: DISCONNECTED/DISCONNECTEDConnectivityService(149):
getMobileDataEnabledreturning truehope it helps abit