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

Regular Contributor
Posts: 70
Registered: ‎04-14-2010
My Device: bold 9000
My Carrier: new

how to connect 3G ?

[ Edited ]

if i want to get image from website using 3G

wifi is fine,but    3G is not




if (Radio_State == RadioInfo.STATE_ON)
if (DeviceInfo.isSimulator())
//interfaces = ";deviceside=true";
System.out.println("==== simulator ====");

if ((RadioInfo.getActiveWAFs() & RadioInfo.WAF_3GPP) != 0) {
interfaces = " 3GPP Wireless";
//what interfaces should i add ?
System.out.println("==== 3GPP ====");

} else if ((RadioInfo.getActiveWAFs() & RadioInfo.WAF_WLAN) != 0) {
interfaces = ";interface=wifi";
System.out.println("==== wifi ====");
}else if (Radio_State == RadioInfo.STATE_OFF){
Dialog.alert("Radio switched off");


i checked some Thread, but i can't understand ;;;;;

those Thread are too difficult  to understand

plz tell me how to access 3G easily 


Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: how to connect 3G ?

Unfortunately you are going to have to get your head around the connection issues, there is no easy way that is guaranteed to work. 


Start here, and check out the connection suffix you are adding to the URL..


What Is - Different ways to make an HTTP or socket connection

Article Number: DB-00396




For more information I would encourage you to review the two networking videos:

Network Transports Videos

You should start with the first one:


and then review the second one:


Posts: 104
Registered: ‎08-03-2010
My Device: Blackberry Z10
My Carrier: Idea

Re: how to connect 3G ?

Hi peter,


what is th connection suffixe for 3G enable network?


there are no wifi,BIS and BES service activated.


it should be normal which are used.


or it have different suffix?



Rajesh Parmar

Please mark posts as solved if you found a solution.
Feel free to press the kudos button to thank the user that helped you