Amir.php
Flying Visitor
Accoring to Nokia:
.[FONT="]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[/FONT]
Note: Before proceeding please confirm that What version of S40 device you are using. if You are using Nokia s40(v2, v3), then follow the Method on this page.
But for the users of s40 v5 move on My next page By

Tutorial Start(s40 v2, v3 only):
From the given links Download a zip file which have various setting file(.prov) and .wml which we will Edit accordingly.
NokiaJAVAProxy.zip
or
NokiaJAVAProxy.zip
But Main problem here How to Edit this wml file according to our service provider.
So Now i am going to tell you, how to do this:
1. Download NokiaJAVAProxy.zip from above url.
2. Download wbxml2-0.9.0-bin.win32.rar & WML Editor for editing wml files.
3. Now After extracting the NokiajAVAProxy.zip, open any of the .wml file on wml editor. It looks like as:
4. Edit acoording to your service provider specification, which i have marked as RED.<?xml version="1.0"?>
<!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN"
"*www.wapforum.org/DTD/prov.dtd">
<wap-provisioningdoc version="1.0">
<!-- This WML doc created by Ravi Mathur, Oct 22 2007 -->
<!-- HowardForums username: ravidavi -->
<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>
you can also edit Your service providers name(optionally, but will be better to edit them also), 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.
xml2wbxml -o C:\Amir\NokiaJAVAProxy.prov C:\Amir\NokiaJAVAProxy.wml
This will generate a .prov file with name NokiaJAVAProxy.prov in the folder name C:\Amir
9. That's all.
Now you can transfer this .prov file in your mobile using bluetooth or infrared.
Save this setting and make it default from configuration.
Fore more help see these Screen Shots step wise:
*img12.imageshack.us/img12/9748/49194701.png
*img3.imageshack.us/img3/8264/88572477.png
*img14.imageshack.us/img14/4497/87373066.png
Operation Succeed.
................................................................................
This tut is written by My own

Last edited: