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

Web and WebWorks Development

Reply
Developer
Posts: 1,280
Registered: ‎03-03-2011
My Device: Playbook, Z10, Q10, Z30 with Files & Folders and Orbit of course
My Carrier: Vodafone
Accepted Solution

Data connection: roaming or not?

[ Edited ]

I'd like to add an option to my app to limit automatic downloads when the user is roaming (to minimize international roaming data charges). Is there any way to detect whether the current data connection is a roaming connection?

 

Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands
Highlighted
Retired
Posts: 165
Registered: ‎09-24-2012
My Device: Passport
My Carrier: Bell

Re: Data connection: roaming or not?

Hi innovateology,

 

I've just created a pull request to the deviceInfo native extension to check for roaming status located here:

https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/deviceInfo

 

The pull request will take a few days to go in, so keep an eye on it, so you can download it once it is available.

https://github.com/blackberry/WebWorks-Community-APIs/pull/185