11-02-2010 06:54 PM
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
Solved! Go to Solution.
11-02-2010 07:22 PM
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.
11-03-2010 08:33 AM
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.
11-03-2010 03:52 PM
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!
)
11-18-2010 09:54 AM
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
11-18-2010 11:05 AM
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.
02-18-2011 09:29 AM - edited 02-18-2011 09:49 AM
Here is the updated thread by Peter (just for the people who end up reading here!)