Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Member
Posts: 2
Registered: ‎04-27-2012
My Device: Developer
My Carrier: Airtel

How to find if application is using Wifi / Hotspot / 3G/ 2G?

Hi,

 

I need to show a warning message to the user if he is using application over 3G (that it could cost him significant charges). What API can I use to find this out if app is using Wifi / Hotspot / 3G/ 2G?

Developer
Posts: 16,999
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to find if application is using Wifi / Hotspot / 3G/ 2G?

[ Edited ]

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/CoverageInfo.html#isCov...

together with http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/RadioInfo.html

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
Developer
Posts: 141
Registered: ‎07-13-2011
My Device: BB Bold
My Carrier: Vodafone

Re: How to find if application is using Wifi / Hotspot / 3G/ 2G?