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
bcmllc
Posts: 2
Registered: 12-31-2011
My Carrier: T-Mobile

Our Third Party application and BES application control Policy

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.
 
  Set this rule to No to force all browser traffic through your organization's   BlackBerry Enterprise Server and prevent users from installing other browser   services.
 
  If you do not set this rule, a default value of Yes will be used.
 
  This rule applies only to Java-based BlackBerry devices version 3.6.0 and   higher.

 

 

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.
 
  Set this rule to No to hide the IBS browser icon.
 
  If you do not set this rule, a default value of Yes will be used.
 
  This rule applies only to Java-based BlackBerry devices version 4.0.0 and   higher.

 

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

Please use plain text.
Developer
peter_strange
Posts: 14,611
Registered: 07-14-2008

Re: Our Third Party application and BES application control Policy

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?

Please use plain text.
New Contributor
bcmllc
Posts: 2
Registered: 12-31-2011
My Carrier: T-Mobile

Re: Our Third Party application and BES application control Policy

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

 

Please use plain text.
Developer
peter_strange
Posts: 14,611
Registered: 07-14-2008

Re: Our Third Party application and BES application control Policy

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

Please use plain text.