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

New Developer
Posts: 49
Registered: ‎07-16-2008
My Device: Not Specified

Establish network connection via WAP 2.0 gateway



I m trying to establish network connection via WAP 2.0 gateway.

I have reffered the example mensioned in the document : http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

and tested it in :
JDE 4.3.0
device simulator 4000 Telephonic


The getUid() method of my application returning "S TCP-WiFi"


so it is not satisfying "records[i].getUid().toLowerCase().indexOf("wifi") == -1"  within if condition.


Which simulator i should use to run WAP 2.0 gateway successfully.


"Mark Sohm" said in the forum thread "http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=2557&query.id=743..." that


"Third party applications are not able to connect over a WAP 2.0 Gateway, only WAP 1. "


If so, what types of connection we can establish via WAP 2.0 Gateway.



BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Establish network connection via WAP 2.0 gateway

My previous response is no longer valid, third party applications are now able to connect over a WAP 2.0 Gateway.


Note that you'd need to test this on an actual BlackBerry handheld, not the BlackBerry Simulator (which is not connected to a carrier's network or WAP Gateway).

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker