12-20-2011 06:34 AM
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 !
12-22-2011 10:54 AM
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...