Connect you phone to internet using you PC's internet

Posted by Movies-and-Streams Wednesday, April 7, 2010

1. Install the J2ME SDK from Sony Ericsson. You can find it on the S.E. developers' site. This is slightly different from the one you will find on the Sun site, and you will need to use Sony Ericsson's version.
Now, here are some parameters you will need handy. Please replace the values with your appropriate ones.

Serial data cable to T616 connected on : COM1
The IP address of my PC : 192.168.0.100

1. In your cell phone, create a new data account called test.


This can be done by opening the menu in your T616 and going to Connect -> Data Comm -> Data Accounts -> New Account
Use the following parameters :
GPRS data
Name : test
APN :
User id :
Password :

Save this data account

2. Create a new WAP profile called test.

Connect -> Data Comm -> WAP Profiles -> New Profile
Use the following parameters :
Name : test
Connect using : select the data account called "test"
IP Address : 192.168.000.100 (replace this with the IP of your PC or write this IP)
Save this profile

3. Activate this new WAP profile (select it as the default for all data transfers)

Connect -> Data Comm -> WAP Profiles -> Test

4. Connect your data cable.

5. Ensure that the correct COM port is enabled in the Sony Ericsson Phone Monitor. I have enabled COM1, you would need to enable your own COM port.

6. Start the Connection Proxy which is installed when you installed the Sony Ericsson J2ME SDK. I can find my Connection Proxy under : Start -> Programs -> Sony Ericsson -> J2ME SDK -> Connection Proxy.

7. Set your correct COM port in the connection proxy.
File->Settings->COM1
Baud Rate : 57600 [ you can push this up later after everything works]

8. Click on Connect. The status should change to :
"Connected on COM1 at 57600"
If this did not work, you've either got the wrong cable, got your port wrong, or the port is not enabled in the Mobile Phone Monitor.

9. Once the phone and PC are connected, start the Device Explorer which was installed with the Sony Ericsson J2ME SDK. I can find this under : Start -> Programs -> Sony Ericsson -> J2ME SDK -> Device Explorer.

It will automatically try to connect to your phone and after it is connected, you should see a tree structure listing the applications installed on your phone. If this cannot connect or times out, you've again got something wrong with the COM port.

10. Go to the file menu in the Device Explorer and enable the option called "Serial Networking".

11. Exit the Device explorer (because the serial n/w option does not take effect until you restart).

12. Restart the Device Explorer. Wait until you see the tree structure listing the applications on your phone.

13. You are now ready to test the TCP/IP connectivity between your phone and PC.
I have installed Webviewer [a Java based HTML browser for the T616].
You can find this at : http://www.reqwireless.com/download-webviewer.html

You will need to download the jad file as well as the jar file.

14. To install the webviewer application, after downloading these 2 files, place them in the same folder.

15. Go back to your Device Explorer.
File -> Install.

Browse to the folder and select the location of the jar as well as jad files. After entering both locations, click Install. The application should be uploaded to your phone. Once it is uploaded, it will appear in the list of installed apps in Device Explorer.

16. Select the app Webviewer->Webviewer. Right click and select Start. This will start the application in your phone. You will see the Java icon etc and then the webviewer app will appear.

17. Enter any reassonable URL such as http://www.google.com
Note that webviewer is a HTML browser and not a wap browser so you can go to any regular web site on your cell phone.

18. After entering the URL, you should see "Contacting server" at the bottom in the status bar.

19. You might then be prompted to allow web access. I get the options :
Allow Web Access
Ask Per Access
Deny Web Access

Select the option "Allow Web Access".

20. You should see the status "Waiting for Reply" followed by the status bar showing the download progress.

21. If the status bar is stuck at "Waiting for Reply", try clicking "Disconnect" followed "Connect" in the Connection Proxy. You will need to exit and restart the webviewer app if you disconnect.

22. If that does not help, try removing the cable, shutting off the phone, restarting the phone, and attaching the cable again. You will then need to restart the Connection Proxy followed by restarting the Device Explorer.

23. If you do see the Google home page, there is still one important thing. Make sure that you do not see the internet connection (GPRS data) icon at the top left of your cell phone. This icon looks like a globe symbol, and indicates that you are using your cell phone service provider's GPRS data service and therefore not using the serial cable and PC connection. If this happens, follow the instructions in the previous step #21

Hint : When the phone is exchanging data with the PC, the Connection Proxy will show green arrows to indicated data transfer. The in and out byte counts should also keep going up. If you are able to browse but do not see the green arrows and byte counts going up in the Connection proxy then you are somehow using your service provider's GPRS service and therefore paying for the airtime and/or data transfer by the KB. That is not what you want to do.


Now for the final toast : I was able to do the same over a Bluetooth connection between my phone and PC. Instead of the data cable, I connected over a serial port defined under the services published by the cell phone device. Make sure you select that COM port number in the Connection Proxy. Also ensure that Bluetooth has been enabled and the cell phone has been correctly paired with the PC. Everything else remains the same.

Tutorial by jamshedd

0 comments