This Tutorial i have written for those who have Nokia series 40 mobiles and facing trouble in Using internet based Java Applications on these platform.
Accoring to Nokia:
.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
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 Click Here.
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.
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"
<!-- This WML doc created by Ravi Mathur, Oct 22 2007 -->
<!-- HowardForums username: ravidavi -->
<!-- Name of the configuration -->
<parm name="NAME" value="Idea JAVA"/>
<!-- Defines how network access occurs -->
<parm name="RULE" value="Default Rule"/>
<!-- Connect through specified proxy -->
<parm name="TO-PROXY" value="IdeaProxy"/>
<!-- Defines proxy parameters -->
<parm name="PROXY-ID" value="IdeaProxy"/>
<parm name="NAME" value="Idea Proxy"/>
<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"/>
<parm name="PORTNBR" value="8080"/>
<!-- Connect through specified access point -->
<parm name="TO-NAPID" value="IdeaNAP"/>
<!-- Defines Network Access Point (NAP) parameters -->
<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"/>
<!-- PAP is "normal" authentication -->
<parm name="AUTHTYPE" value="PAP"/>
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.
Syntax: xml2wbxl -o output.wbxml input.xml
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:
This tut is written by My own