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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
Ekansh
Posts: 468
Registered: ‎08-07-2009
My Carrier: Blackberry Developer

3G Usage

Hi all,

 

How can we test that the the device is using 3G?

How can we know that the device is using 3G?

How can we use feature of 3G in bold?

If 3g is on, is that means that device is accessing 3g?

 

Plz reply anwer to my question? If any

 

Thanks

Ekansh

----------------------------------------------------------
feel free to press the kudos button on the left side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
Ekansh
Posts: 468
Registered: ‎08-07-2009
My Carrier: Blackberry Developer

Re: 3G Usage

Hi all,

 

 

Any suggestion for the above.

 

 

Thanks

Ekansh

----------------------------------------------------------
feel free to press the kudos button on the left side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
simon_hain
Posts: 13,801
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: 3G Usage

you can check the radioservice flag to include

http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/system/RadioInfo.html#NETWORK_...

 

if the display shows 3g, it means the device is connected in 3g but the network does not allow a connection to the RIM NOC. 3G means it is connected to the RIM NOC (BIS/BES)

----------------------------------------------------------
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.
Developer
Ekansh
Posts: 468
Registered: ‎08-07-2009
My Carrier: Blackberry Developer

Re: 3G Usage

Hi,

 

Is there any way to detect whether the device supports 3G or not.

 

 

Thanks

Ekansh

----------------------------------------------------------
feel free to press the kudos button on the left side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
Ekansh
Posts: 468
Registered: ‎08-07-2009
My Carrier: Blackberry Developer

Re: 3G Usage

Any help.

----------------------------------------------------------
feel free to press the kudos button on the left side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
simon_hain
Posts: 13,801
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: 3G Usage

use RadioInfo and RadioStatusListener

----------------------------------------------------------
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.
Developer
Ekansh
Posts: 468
Registered: ‎08-07-2009
My Carrier: Blackberry Developer

Re: 3G Usage

hi,

 

Thanks.

 

I saw the API.

 

But i didn't any method to detect whether the device supportd 3G or not.

Or the device has 3G features or not.

 

Thanks

Ekansh

----------------------------------------------------------
feel free to press the kudos button on the left side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
Ekansh
Posts: 468
Registered: ‎08-07-2009
My Carrier: Blackberry Developer

Re: 3G Usage

hi Simon,

 

I did this get whether the device is using 3G or not.

 

if(RadioInfo.getNetworkType() == RadioInfo.NETWORK_UMTS)

{

   //using 3G

}

 

 

How to get the that 3G is available in device.

 

Thanks

Ekansh

----------------------------------------------------------
feel free to press the kudos button on the left side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
simon_hain
Posts: 13,801
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: 3G Usage

you have a listener to get notified if the device switches into 3G, and you have a method that tells you if the device IS in 3g. this should be sufficient for all usecases.

i don't think there is an API for 3G availability as this is a network feature, not a device one. you can put a 2g-only SIM into a 9700, for example.

----------------------------------------------------------
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.
Developer
Ekansh
Posts: 468
Registered: ‎08-07-2009
My Carrier: Blackberry Developer

Re: 3G Usage

Hi Simon,

 

 

Thanks. I got your point.

 

3G also depends on the devices,

That device may not have 3G hardware such as Curve.

 

 

Thanks

Ekansh

----------------------------------------------------------
feel free to press the kudos button on the left side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.