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
New Contributor
ghidello
Posts: 3
Registered: ‎11-02-2010
My Carrier: WIND
Accepted Solution

HttpConnection over a BIS data plan with no APN default data

Hi all,

excuse me for being here with another question on the connection tecniques to be used for accessing a web resource.

 

I've been requested to create a blackberry application targeting the 4.6.1 framework version which will be used in Italy. The test device that I've been assigned for my testing is an 8250 with a BIS data plan and no APN configuration supplied by the carrier: this is a very common configuration here in italy and so my goal (read as "my constraint") is to make a call to a web service without forcing the user to specify the APN data.

 

I failed trying to perform a connection using the ";deviceside=false" before understanding that I'm not in a BES environment so I can't use the MDS

I failed using the ";deviceside=true" directive because it says that it need the APN configuration

I failed using the ";deviceside=false;ConnectionUID=uid" because the funcion specified into the What Is - Different ways to make an HTTP or socket connection always return a null value as uid (maybe because the WAP is not configured for my device)?

 

My only win is when using the WiFi connection but, obviously, the requirements are to have an always available application.

 

So.. Did I miss something or my only chance to satisfy my requirements is to buy an Alliance Partnership and then have the access to the BIS-B connection type?

 

Thanks in advance,

Alessandro

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008

Re: HttpConnection over a BIS data plan with no APN default data

You can detect the carrier name and add the correct APN info at runtime.

 

This is OK if you are working with a limited number of carriers.

 

It gets somewhat tedious if you have to distribute the app globally.

 

Please use plain text.
Developer
peter_strange
Posts: 17,713
Registered: ‎07-14-2008

Re: HttpConnection over a BIS data plan with no APN default data

There is a back door to getting BIS-B access.

 

Fill in a request for for the Push service (free).  This uses BIS-B.  You don't have to use the PUSH service, but you will get access to BIS-B. 

 

As I understand it (from conversations with RIM at DevCon) RIM have not yet gotten round to making BIS-B available to all, because they have not had time to do the legal agreements thing that they need you to do.  but this is already included in the push service. 

 

So no need for Alliance membership, just use the Push service.

 

I'm trying to find time to update my network post with this information, along with providing networking code that works, using some new RIM provided code, on the networking Thread.  but work keeps getting in the way.

Please use plain text.
New Contributor
ghidello
Posts: 3
Registered: ‎11-02-2010
My Carrier: WIND

Re: HttpConnection over a BIS data plan with no APN default data

Wow.. That would be great! Thanks so much in advance!

 

I read the Push service request forms and RIM is asking the URL where I publish the application and the IP of the push server. An additional requirement is that the application has to show a pupup alerting the user about the push service so.. I don't think that one can request the push service without using it effectively.

 

Anyway, having the push technology we've just decided to add a functionality to our application.. So..

 

Thanks again and again. (Apart for the additional work I'll have to do! :smileyvery-happy: )

Please use plain text.
New Contributor
ghidello
Posts: 3
Registered: ‎11-02-2010
My Carrier: WIND

Re: HttpConnection over a BIS data plan with no APN default data

Hi Peter, 

I received my codes for accessing the RIM Push system (actually I have the Push essentials codes) and I tried to find a way to use it. I didn't understand where to specify the application code I received along with the path and port number to be called when performing the push request). 

 

I also tried to find any update on the push topic on your networking thread with no luck: Did I missed it? Can you please post an example of client connection method using the push URL?

 

(I am still trying to have a sort of free Bis-B connection).

 

Thanks

Alessandro

Please use plain text.
Developer
peter_strange
Posts: 17,713
Registered: ‎07-14-2008

Re: HttpConnection over a BIS data plan with no APN default data

Sorry the update has not been completed, I have code that I hope someone else will have time to review before I publish.

 

I have sent you a private message. Please see that for more. 

Please use plain text.
Developer
NitinPatel
Posts: 107
Registered: ‎10-06-2010

Re: HttpConnection over a BIS data plan with no APN default data

[ Edited ]

Here is the updated thread by Peter (just for the people who end up reading here!)

 

http://supportforums.blackberry.com/t5/Java-Development/Sample-HTTP-Connection-code-and-BIS-B-Access...

Please use plain text.