Is there a listener for the Data Service on/off event menu option
I'm trying to detect the event of someone switching data services on/off from the options --> mobile network menu.
I've had limited success with RadioStatusListen开发者_JAVA技巧er and the pdpStateChange event. It fires on some phones/OS's
I think I'm able to detect most other ways you might lose/gain your data service but this one seems like my white whale.
I use BB OS's 4.5 and up.
Thanks in advance for any help.
I'm not aware of any direct way of listening for the configuration change you've highlighted, but if you want to know whether you have data coverage at all, you can use the CoverageStatusListener
精彩评论