MOBILOMANIA
  Proxy settings for NOP for S40v3 and v5 phones
 
Proxy settings for NOP for S40v3, S40v5 phones

As we all know, Nokia doesn't allow one to specify a proxy for an Access Point in Series 40 v2 and v3 and v5 phones (6131, 6133, 3110c, 5300, 5200, 5310, 6500) etc.

In its recent versions of the Series40 OS (v2 & v3 & v5), Nokia has removed the ability to specify a proxy server associated with an access point. Therefore, those with WAP network plans (such as TMobileWeb users, Airtel NOP users) are unable to use JAVA programs that require internet access (such as Opera Mini, Google Maps, ...).

However, Nokia does allow users to create a provisioning document on their computer. This document, created in wbxml, specifies an access point along with a proxy. The S40 phone recognizes the configuration settings in the document and allows the JAVA midlet to use those instead, thereby allowing the midlet to access the proxy. Its very simple to implement.

The files included in the zip provide some sample xml documents, and the associated provisioning (.prov) files.

Visit my.opera.com/mobiapp/blog/2009/01/06/softwares 
to download the file "Nokia JAVA Proxy".

Description of included files:
NokiaJAVAProxy.wml: The wml file that you can edit if you need/want different proxy settings.
NokiaJAVAProxy.prov: The actual binary wbxml provisioning file that should be sent to your phone (via bluetooth or usb). This can NOT be manually edited.


Process:

1: Push the "NokiaJAVAProxy.prov" file to your phone using Bluetooth. send the file via "Send File..." option only do not copy paste to your phone ("object push", not file transfer). If your are unable to do it, just transfer it to any bluetooth supported phone and send that file via bluetooth to your phone.

2: The phone will recognize the configuration settings, and will prompt you to save them. Don't worry if it says "no supported applications".

3: Go to Settings->Configuration->Default Config. Settings, and change the default config to [the name of the configuration we just loaded].

That's it! JAVA midlets like Opera Mini, Google Maps, MGMaps, etc... should work now.

Note: You have to send just one .prov file, the one which contains the settings for your area. To know which file to send, right click on a .prov file, click "Open". The choose "Select application from a list" and choose "Notepad from the list"
In the file that opens, you will see something like 100.1.200.99 or something else. the number diplayed is the ip address of the NOP server. If you dont know the ip address call Customer Care.


But Main problem here How to Edit this wml file according to our service provider.
So Now i am going to tell how to do:
1. Download NokiaJAVAProxy.zip from above url.
2. Download wbxml2-0.9.0-bin.win32.rar from here(i uploaded.):
http://my.opera.com/mobiapp/blog/2009/01/06/softwares
3. Now after extracting open any of the .wml file, look as:
Quote:
<?xml version="1.0"?>
<!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN"
"http://www.wapforum.org/DTD/prov.dtd">
<wap-provisioningdoc version="1.0">

<characteristic type="BOOTSTRAP">
<!-- Name of the configuration -->
<parm name="NAME" value="
Idea JAVA"/>
</characteristic>

<!-- Defines how network access occurs -->
<characteristic type="ACCESS">
<parm name="RULE" value="Default Rule"/>

<!-- Connect through specified proxy -->
<parm name="TO-PROXY" value="IdeaProxy"/>
</characteristic>

<!-- Defines proxy parameters -->
<characteristic type="PXLOGICAL">
<parm name="PROXY-ID" value="IdeaProxy"/>
<parm name="NAME" value="Idea Proxy"/>
<characteristic type="PXPHYSICAL">
<parm name="PHYSICAL-PROXY-ID" value="Idea Proxy"/>
<parm name="
PXADDR" value="10.4.42.15"/>
<parm name="PXADDRTYPE" value="IPV4"/>
<parm name="PUSHENABLED" value="0"/>
<characteristic type="PORT">
<parm name="PORTNBR" value="8080"/>
</characteristic>

<!-- Connect through specified access point -->
<parm name="TO-NAPID" value="IdeaNAP"/>
</characteristic>
</characteristic>

<!-- Defines Network Access Point (NAP) parameters -->
<characteristic type="NAPDEF">
<parm name="NAPID" value="IdeaNAP"/>
<parm name="NAME" value="Idea NAP"/>
<parm name="BEARER" value="GSM-GPRS"/>
<parm name="
NAP-ADDRESS" value="imis"/>
<parm name="NAP-ADDRTYPE" value="APN"/>
<characteristic type="NAPAUTHINFO">
<!-- PAP is "normal" authentication -->
<parm name="AUTHTYPE" value="PAP"/>
</characteristic>
</characteristic>

</wap-provisioningdoc>
4. Edit acoording to your service provider specification, which i have marked as RED.
you can also edit Your service providers name(optionally), which i have marked as green. and Save it.
5. Now Make a folder in any Drive and copy/paste this wml file in this folder.
6. extract and copy/paste wbxml2-0.9.0-bin.win32 folder also in that folder(for your ease only).
7. open wbxml2-0.9.0-bin.win32 and you will see xml2wbxml.exe.
8. To run this file open command window and go your created folder by cd command and run it. It will show how to use it.
for example:
Syntax: xml2wbxl -o output.wbxml input.xml
eg.
Quote:

xml2wbxl -o C:\hotshot05\Idea proxy setting\NokiaJAVAProxy.prov C:\hotshot05\Idea proxy setting\NokiaJAVAProxy.wml


This will generate a .prov file with name NokiaJAVAProxy.prov in the folder name C:\hotshot05\Idea proxy setting\.

9. Thats all.






This guide has been written with the help of some input from amir.php of the Think Digit Forum.
Here is the link to the thread: Link
 
  There has been 436865 visitors (1938932 hits) on this page!  
 
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free