tags:

views:

48

answers:

2

I am embedding browser in blackberry application. In which I open my compny website with some label on top. Its working in simulator, but not on device. In device other applications which require browser are running fine.

my device is : 8900

Please let know how I can solve this issue?

Thanks

Shikha

+1  A: 

The sample apps all assume that the device is connected via MDS to a BES server, which is true in the simulator (using the MDS simulator). However when testing on a device you will need to use a different transport if it is not connected to a BES server. For example, on your 8900 you could use Wi-Fi or Direct TCP (and sometimes WAP2 depending on the carrier).

You'll need to modify the URL passed into Connector.open() so that it has the correct arguments to specify the type of network connection to establish. See this thread for more information about how to establish an HTTP connection over the various transports.

Marc Novakowski
thanks, I tried but no success: I appended ";ConnectionUID=WAP2 trans" then ";deviceside=true;ConnectionUID=WAPtrans Secure" and lot more but getting same issue. Please help
iPhoneDev
Trying using just ";deviceside=true" to see if that works (Direct TCP). You may need to set the APN in your device settings for your carrier.
Marc Novakowski
A: 

This is how its running while adding this string in URL: ";deviceside= false;connectionType = mds-public"

iPhoneDev
That is probably going over BIS which might be okay for dev work but if you want to publicly release your app and use BIS then you need permissions from RIM (basically you need to sign up for their Alliance program).
Marc Novakowski
Is there any link where I can get the details for Alliance program permission. I have signing keys; are these keys are not sufficient to use an app publicly... please suggest
iPhoneDev