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

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -