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
ingvar_e
Posts: 551
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Internet connection

In OS5 running the Java development platgform I had to through quite an exercise in code to determine what kind

of internet connection I should use. Like getting Connection suffix, check for WIFI, APN, BES etc.  and look in the  ServiceBook.

 

Looking in the API for OS10 I only see "FileTransfer"

 

Am I missing something??

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Please use plain text.
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: Internet connection

It's still there :smileywink:
https://developer.blackberry.com/html5/apis/blackberry.connection.html

or you can just check if there is a connection using
if (navigator.onLine)
--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.