12-31-2011 12:31 PM
We have a location based services application that connects to an IIS webserver to post its location. Our application for corporate clients is deployed using BES.
As BES is also is used to deploy other BB applications in the corporate environment, some of our corporate clients have strict application control policies.
Currently we have a corporate client who have very specific BES Settings that they woud like to keep as below:
Allow Other Browser Services | No | Specify whether users can use other browser services on the BlackBerry device. |
Allow IBS Browser | No | Specify whether the Internet Browsing Service (IBS) browser icon appears on the BlackBerry device when the service provider provisions the IBS browser and the appropriate service books are present. |
But with the above BES settings, our application results in an application error when trying to post the location to our web server as it expects to use the browser services. What we want to find out is
“If our gps app is currently unable to operate without direct internet “browser services” enabled, vs. utilizing the MDS data connection, are we able to accommodate usage of MDS when “other browser services” are disabled by code changes in our application or the BES policy? Is this not possible based upon the lock down of services with this policy”?
Thank you for your time and consideration in helping us.
Also, is there a mapping of Jave API and what BES permissions are required for each of APIs to function correctly?
Thanks.
-Suri
12-31-2011 01:06 PM
Can you explain how your application actually sends the data? I do not understand this comment:
"our application results in an application error when trying to post the location to our web server as it expects to use the browser services"
Most people use HttpConnection with a POST to send data to a server. How do you do it?
01-02-2012 08:13 AM
HI Peter,
Thanks for your response. Yes we use HttpConnection with POST method to report location data to the server.
Below is the section of the code responsible for it:
HttpConnection hc;
....
....
hc = (HttpConnection)Connector.open(url + Global.CONNECTION_STRING);
.....
Thanks.
-Suri
01-02-2012 11:07 AM
So your application does not Browser Services to send the data. You have some processing that attempts to set the connection suffix, and you sue that to establish the connection.
My recommendation, in a corporate (BES) environment, is that you always use ";deviceside=false", and route the connection through the (MDS) BES Server. I suggest this because it is possible for BES Administrators to prevent their users access the "internet" in any other way.
Corporates may disable the IBS Browser and the HotSpot Browser, but they should leave the MDS Browser. If the users in the corporation can get to the internet with the two policies set as you described, then they are using the MDS Browser and so ";deviceside=false" will work for you.
Does this answer the question? If not, can you clarify again what you are asking