blackberry - Turn off/on network programmatically -
I'm trying to access network status to turn it off or on.
I have already written the code to get the position of the network using RadioInfo , but I can not understand how to turn them on / off I have created the
radio And
Radioinfo in the API, but I can not find the API that allows me to control the network. Here's my code to get the network status:
Personal Boolean GetRadInfo () {if (RadioInfo.getState () == RadioInfo.STATE_ON} {Back true;} Other {return false; }}
Is there any idea how to close / close? < P> Solved I
radio. Detective or f (int);
Comments
Post a Comment