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

Native Development

Reply
Contributor
bhargav3132
Posts: 18
Registered: ‎05-15-2013
My Device: 9700
My Carrier: 919909743132
Accepted Solution

Blackberry 10 cascades - Check Internet connectivity

I am developing an application for BB-10 using web service. In this I want to parse JSON in both the get and post methods and I want to check the Internet availability.

How can I do this?

Please use plain text.
Developer
simon_hain
Posts: 16,042
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Blackberry 10 cascades - Check Internet connectivity

https://developer.blackberry.com/cascades/reference/qnetworkaccessmanager.html#networkAccessible-pro...
----------------------------------------------------------
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
Please use plain text.
Contributor
bhargav3132
Posts: 18
Registered: ‎05-15-2013
My Device: 9700
My Carrier: 919909743132

Re: Blackberry 10 cascades - Check Internet connectivity

@simonHail  Thanks this really helps....

Please use plain text.
Regular Contributor
kishorerao
Posts: 60
Registered: ‎06-08-2012
My Device: 8900,9550
My Carrier: tatadocomo

Re: Blackberry 10 cascades - Check Internet connectivity

plaesegive me some example with code

Please use plain text.
Regular Contributor
kishorerao
Posts: 60
Registered: ‎06-08-2012
My Device: 8900,9550
My Carrier: tatadocomo

Re: Blackberry 10 cascades - Check Internet connectivity

please post the code of internet checking

it very urgent
Please use plain text.
Developer
sreejond
Posts: 49
Registered: ‎03-27-2013
My Device: z10
My Carrier: Banglalink

Re: Blackberry 10 cascades - Check Internet connectivity

could you please explain how it works for you?
Please use plain text.
Developer
sreejond
Posts: 49
Registered: ‎03-27-2013
My Device: z10
My Carrier: Banglalink

Re: Blackberry 10 cascades - Check Internet connectivity

It's not working for me.
I all time found UnknownAccessibility while WiFi on/off.
Could you please help me.
Please use plain text.