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

BlackBerry WebWorks Contributions

Reply
New Contributor
Amon001
Posts: 7
Registered: ‎12-20-2011
My Carrier: a lot's of them

autorizing WebWorks to connect via a proxy.

I have a WebWorks application which works fine on WiFi and on 2 of the 3 APN of the operator.

The major difference between the third APN and the 2 others is that it pass via a proxy.

 

When I tried to connect via this APN, I always obtain the error message "failed to transmit".

 

I suspect that the WebWorks application doesn't have the rights to connect via a Proxy, or can't retrieve the Proxy parameter from the device, but I can't find any reference to Proxy in the API documentation.

 

Making the application works on this specific APN is a requirement for the project because the majority of the clients are connected only via this APN.

 

 

Here are the authorizations that my application already have :

 

  <access subdomains="true" uri="$ACCESS$">
    <feature id="blackberry.ui.dialog" />
    <feature id="blackberry.message.sms" />
    <feature id="blackberry.audio.Player" />
    <feature id="blackberry.audio" />
    <feature id="blackberry.system" />
    <feature id="blackberry.invoke" /> 
    <feature id="blackberry.invoke.BrowserArguments" /> 
  </access>
  
  <!-- for local operations -->
    <feature id="blackberry.identity" />
    <feature id="blackberry.identity.phone" />
    <feature id="blackberry.system" />

 

  Where $ACCESS$ is replaced by the URL of the server part of the application.

 

Thanks in advance !

 

 

Please use plain text.
New Contributor
Amon001
Posts: 7
Registered: ‎12-20-2011
My Carrier: a lot's of them

Re: autorizing WebWorks to connect via a proxy.

Or at least, is it possible to retrieve which APN is used by the client and tell them they can't access to the application ? It's still better than a rude "failed to transmit".

 

I've tried :

<script type="text/javascript">
  alert("You are on the " + blackberry.network + " Network");
</script>

 but it always return "3GPP/WIFI" whether or not I'm connected via WiFi or one or another of the APN...

Please use plain text.