Welcome to Esato.com


Pages:
1234  Next


Using my PC\s internet connection


Click to view updated thread with images




Posted by jamshedd
Hi,

Here's the scenario :

My phone : T616

Connectivity :

Serial Data Cable on COM2

Belkin Bluetooth adapter :
T616\Serial port configured on COM4 (this is the serial port service offered by the T616)
My Device\Serial port configured on COM5 (this is the serial port service offered by the Belkin Bluetooth adapter)
My Device\LAN Access Server

I am using Mobile Phone Monitor (that's what I get with the T616). All the above ports are appropriately enabled in the Phone Monitor. I have verified this by using XTNDConnectPC to sync using the serial cable as well as by "connecting" on COM4 (the T616 serial port). I have also tried using the modem in my cellphone and browsing on the laptop (after disconnecting the DSL connection) using the modem in the cell phone and ATTs GPRS data service. All that works fine.

Now here's what I want to do : I want to browse on the cellphone (not the laptop) *without* incurring data charges by the KB from ATT. I want to do this by using the internet connection on my PC from my cell phone. Obviously there are a couple of problems :

1. Where do I find a suitable HTML browser for the T616 ?

The internal WAP browser ends up using the ATT GPRS service and there is no way to configure it to use my cable or Bluetooth connection.

I have looked around and most of the browsers available for download (Opera, Doris Browser) require a P800 or better phone based on the Symbian OS. The T616 unfortunately does not fall in that category. Does anybody know of any suitable HTML browser for my phone (T616) ?

2. I have tried downloading the browser WebViewer to my phone and using that, but that is not free (I used a trial copy) and I cannot make it use my serial cable or Bluetooth either.

3. I do not understand how to establish TCP/IP connectivity between my cellphone and laptop such that the internet browsing will end up using my DSL connection. I have been able to connect the COM port but how do I ask the cell phone to use the connection over the COM port instead of the GPRS service from ATT ?

I read in some forum that this can be done on the Nokia using a software called M-Router (which ships for the Nokia phones). That will set up a bridge between the COM port connection and the internect connection.

My T616 uses the Mobile Phone Monitor (and not M-Router) I tried using Win XP "bridge connections" to do the same but I could not do it successfully.

I also read somewhere that I modify the parameters under Connect -> Data Comm -> (some account name) -> Edit -> IP Address to use my laptop as the gateway. I tried that too (I set my laptop's IP address as the IP address in the field). Again no luck.

I then called up ATT but they did not have a clue and redirected me to Sony Ericsson. SE's "tech support" guy told me he was very confused, asked me whether the browser I had downloaded was SE and when I said no he said he did not to support that. The guy was a clueless @#%&&%^@*.

Any ideas ? Has anybody done this successfully ever with the T616 ?? Since I've read that it can be done with Nokia phones and the M-Router software I am sure there must be a way to do it with the T616 too.

Does anybody here know how to configure an HTML browser in the phone to go over the COM port connection ? That's the million dollar question




Posted by ESTOR
not with the T616

Posted by jamshedd
Well, I managed to do what I set out to do (using my PCs internet connection to browse on my T616). Here's how :

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)
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.

Have fun. It took me many weeks to get this working, since I had to figure out every step by trial and error.
If you are stuck and cannot get something to work, I might take a look (depending on how busy I am on that day). You can write to me at jamshedd@yahoo.com

Happy browsing.



Posted by rrojas260
Where can i find the J2ME SDK besides sonyericsson's developer page?? the page can't register me, it says something about agree the terms and conditions when that option is checked out

Posted by bico
Sun Microsystems is the home of Java!

At the Sun Microsystems Download Center you will certainly find what you are looking for.

Posted by rrojas260
But that isn't the version

Posted by jamshedd
That is correct, you need the Sony Ericsson version, not the Sun version. The Sun version does not have the Connection Proxy and the Device Explorer, so downloading that is nothing other than a waste of time.

I do not get any error while registering for Sony Ericsson developer. Try using another computer, you might have IE restrictions which prevent the registration page from displaying correctly.

Posted by rrojas260
When im trying to install the SDK it display this error msj "Java 2 SDK, Standart Edition {1.3 or later} must fist be installed on your machine" but when im going to the sun page to download the 1.4 standart edition it downloads the Enterprise Edition. What can I do?

Posted by jamshedd
You can download J2SE 1.4 from here :

http://javashoplm.sun.com/ECo[....]SiteId=JSC&TransactionId=noreg


Posted by pettab
Works great! Good job!

Posted by rrojas260
Thanx man, works great.

Posted by k0rkad
I can't get the browser to work, when i enter the URL (http://www.google.com) it says Program error (Programfel, in swedish), how do i fix it?

Now it just says can't connect to server

[ This Message was edited by: k0rkad on 2004-07-27 18:54 ]

[ This Message was edited by: k0rkad on 2004-07-27 18:55 ]

Posted by jamshedd
It's possible that you do not have connectivity working between your PC and cell phone.

You need to :

1. Disconnect the Connection Proxy.
2. Exit the Device Explorer
3. Shut off the phone and switch it on again.
4. Ensure that the COM port you're using is enabled in the Phone Monitor (under Control Panel)
5. Start the connection proxy.
6. Click on Connect.
7. The status should change to : "Connected on COM1 at 57600"
8. If this did not work, you've either got an incorrect cable, got your port number wrong, or the port is not enabled in the Mobile Phone Monitor.

That's all I can suggest for debugging your problem, short of looking at your PC, phone, and data cable.


Posted by k0rkad
I can transfer files, I read about it on Howards and it does'nt seem to work for the t630 .

Posted by hallon
Have anybody got this working for the SE K700i ?

Posted by madduck
can I use irda?

Posted by teslaguy
This is an excellent thread thanx alot jamshedd
hallon: I can't see a reason it shouldn't. I just tried Web Viewer 2.0 it works with K700i.

[ This Message was edited by: teslaguy on 2004-08-24 20:28 ]

Posted by jamshedd
I am not sure about IRDA. Never tried it. Would love to hear if somebody gets that working.


Posted by Merovingian
thnx a lot for the tip mate! Works without problems on my T610+ Serial Cable

Posted by J3K
@jamshedd: you're a legend!! very brilliant man! keep it up

Posted by madduck
Quote:

On 2004-08-24 21:45:19, jamshedd wrote:
I am not sure about IRDA. Never tried it. Would love to hear if somebody gets that working.




yeah it works, thanks...

Posted by otrofox
Does it really work on SE K700?

I cannot connect with my computer. I tried VNC viewer to access my computer. WebViewer to browse my computer website and google, and MuTelnet to login on my computer.
MuTelnet worked for a while but it hung after a couple of seconds. I have tried a lot of different speeds on ConnectionProxy, etc.
If somebody has made it work properly, did you have to make a lot of trials? Did it work for the first time?

Data connections Menu on K700 is slightly different from T616. In example, IP Address is setted on (translated from spanish, sorry) Connect->Data communication->Data Accounts -> test->Edit -> IP Address
and there is no Wap Profile Menu. However, a internet profile exists. Is necessary to set the DNS Address?
Can anybody post the settings that make it work?

My JWTK is SE J2ME SDK 2.1.3 Beta
My FW version is R2A041
My BT Adapter is Conceptronic 100m
Virtual Serial Port COM8 (I also created a modem for this serial connection)

Thanx in advance
Best Regards!!!!


[ This Message was edited by: otrofox on 2004-08-31 10:13 ]

Posted by djremix
I too cannot get this toi run on my t630. maybe it needs diff settings?

also can webvier run with my wap internet profile? should it? cause it doesnt either!

any help appreciated

Posted by otrofox
Can anybody try this and explain how it works?
It could be quite usefull, indeed!

It works for T610. So could also work for the rest of "modern" SE.

Regards!

Posted by ares
From what i understand, this only has been tested with sucess with cable conections...


Did anyone really managed to use it via bluetooth????

Posted by jamshedd
This *has* worked for me over Bluetooth. See my original post, I did get it working on the serial cable as well as Bluetooth.

Somebody else indicated that he has done it over IR too, though I've not tried that myself.




Posted by peteremcc
I don't really understand all the technical stuff but that doesn't matter, I just have one question...

Why would you want to go to the trouble to get an HTML browser on your phone to browse HTML on your phone when the only time you can do this is when your sitting next to your computer??

Kinda pointless isn't it, or maybe not? Can anyone explain?

Thanks.

Peter

Posted by ares
That is really pointless, but imagine that you ant to use e-msn without standing in front of your computer, and for free??? Or Cmessenger??? That could be usefull...

Posted by translator_lapid
Please tell me if i get it right:

-- You have a pc with an internet connection. But you don't want to browse using the pc's large monitor and faster downloading speed.

-- Instead you want to view web pages on your mobile phone's tiny screen, with much slower download rate.

-- You're not really on the move, because the mobile phone is attached to and dependent on the pc via cable, BT, or IR.

-- Under this method, whether you browse on the pc OR on the mobile phone, it costs the same (standard charges on PC internet connection)

-- The only fun you get is that you somehow are able to avoid getting charged GPRS while using WebViewer.

Then why go through all that trouble? Just browse using the PC!

Posted by darudey
The point of little programs is to prove what you can do with Bluetooth and SE phones. I believe if this works with everyone easily, I'm sure we can put it towards other developments and some with more of a practical use.

Though I tried to get it to work with my T630 over bluetooth and it doesn't work

It is something with T630s?

Posted by ESTOR
I guess the point is you can carry your little phone around in the house (if you have BT), instead of lugging your notebook, or if you don't have a PDA.

Also some people want to do this because they need to download games and what not onto the phone but don't want to pay for GPRS.

An finally some are geeks and just want to show that it can work.

Posted by markarena
I am a Java developer, and by doing this I could test on my phone without incurring data charges from Three and the reliability connection of my connection will be improved.

I haven't had a chance to try this on my Z1010 yet, but I can't wait. Thanks for getting the information out there!

Posted by liverpoolowen
It works realy great for me!
Using my TDK BT-dongle.
Sitting in another room surfing on wapbrowser, webviewer, Imic client and offcourse JIMM!

Its, free and u can do it all around the computer. But not longer distance than 10 meters.

Try it and enjoy!

Posted by paulgrime
I get the following exception when trying to read from a http connection using my t630:

java.io.IOException
at com.sun.cldc.io.j2me.socket.Protocol.openPrim(+11)
at com.sun.midp.io.InternalConnector.openPrim(+180)
at com.sun.midp.io.InternalConnector.openInternal(+20)
at com.sun.midp.io.j2me.http.StreamConnectionPool.createStreamConnectionElement(+140)
at com.sun.midp.io.j2me.http.StreamConnectionPool.getConnection(+121)
at com.sun.midp.io.j2me.http.Protocol.connect(+64)
at com.sun.midp.io.j2me.http.Protocol.sendRequest(+90)
at com.sun.midp.io.j2me.http.Protocol.openInputStream(+48)
at com.pg.midp.http2.HttpLogger$Loader.run(+100)

Does anyone have any ideas why. I've followed the steps listed here to use the connection proxy to connect to the internet.

Thanks,

Paul.


Posted by Pulver
First of all - thanks to jamshedd for this guide!

Question:

Has 'markarena' or anyone else got this working on a z1010 ?

I got as far as step 19 and after I 'Allow Web Access' in webviewer the phone stucks at "Contacting server"

Iīm using the USB cable and I am "Connected on COM7 at 57600"

Device explorer is running with Serial Networking enabled.

My Connection Proxy log looks like this:

Quote:
[Showing last 1024 bytes of file, skipped 1061 bytes]
from = 6080 to = 7
[Fri Oct 22 16:17:00 CEST 2004] [TCP:6082->SSTCP:4] [br:5165021] [tool->phone] java.net.SocketException: socket closed
[Fri Oct 22 16:17:00 CEST 2004] [TCP:6082->SSTCP:4] IOException returning error code to tool.
SerialSocketController.receiveDataSegment() dropped segment. NO LISTENER! localPort = 1024 remotePort = 4
[Fri Oct 22 16:18:54 CEST 2004] BsdPcCM().connectSocket() called. This creates TCP Socket Thread[Thread-5,5,main]
Bsd Server Socket, tcp/ip host=216.16.231.69 port=80
[Fri Oct 22 16:18:54 CEST 2004] BSD[1] - BsdServerSocket.run() - Wait for tcpConnection to be true:
[Fri Oct 22 16:18:54 CEST 2004] BSD[1] - BsdServerSocket.run() - Wait for tcpConnection to be true:
[Fri Oct 22 16:18:54 CEST 2004] BSD[1] - BsdServerSocket.run() - Wait for tcpConnection to be true:
[Fri Oct 22 16:18:54 CEST 2004] BSD[1] - BsdServerSocket.run() - Wait for tcpConnection to be true:
[Fri Oct 22 16:18:54 CEST 2004] BSD[1] - BsdServerSocket.run() - Wait for tcpConnection to be true:



Any tips or hints ?

Could it possibly work if I get a bluetooth adaper ?

Or am I assuming right that it it doesnīt work with the USB cable - it will not work with bluetooth ?

Posted by Pulver
Update: Got it working on the z1010 using bluetooth instead of the USB-cable.

Again - thanks

Posted by glorious
Has anybody tested this with a Mac? I have Powerbook 15" with BT and a K700. It would be cool to get it to work on a Mac as well. Anybody?

Posted by eiddi
Quote:

On 2004-10-23 14:37:41, Pulver wrote:
Update: Got it working on the z1010 using bluetooth instead of the USB-cable.

Again - thanks




can you tell me how u did it īcos I canīt find wapprofile in my z1010.

Posted by teslaguy
wap profiles is internet profiles. And no i didn't make it with my K700i and bt

Posted by k4m!k4ze
Ok i'm just reviving this thread.

Maybe a bit late but thanks Jamshedd for that tutorial on browsing on phone thru PC.

It works on my K700i. Can anybody tell me where i can get the full version of Webviewer ?

Posted by jamshedd
You're welcome

Posted by en0203
ya, well done in bringing up this post, jamshedd
but it seems like we T630 users are having problem setting this up

anyone manage to do this on their T630?
i manage to create the connection between the PC and the proxy connection. however, the webviewer just won't connect to the web. i didn't even get the 'allow web connection' prompt. i am sure that i am using the test profile.

i suspect the server setting is also another problem. for those who manage to do this trick, are u all running any routing software and just using the xp one? do we need to enable ICS for this to work?

i did a check on the communication ip, it seems like most of my applications are communicating with the web through 127.0.0.1 but the proxy connection is communicating through 192.168.1.2. is there anyway i can change the connection ip of the deviceExplorer and proxy connection?

Good luck to all who are trying

Posted by jamshedd
The "Serial Networking" option in Device Explorer and the Connection Proxy together make up the "routing" software. In case of Nokia phones, the MRouter software does the same thing.

The Connection Proxy takes the data from the COM port (connected to the phone via a data cable) and passes that data on to the TCP/IP stack as if it came from a LAN connection. Therefore, on your phone, you need to specify the IP address of your other (real) LAN connection. That works as the end point in a point to point connection (your phone at one end and the real LAN connection at the other end). Now do you see how it forms a bridge ?



Posted by andy_hubb
Hey,
I got it working on my k700i....its cool...thanks man....
The confusing bit was i had to just change java settings to the test internet profile...
but the java webviewer sucks
anyone else know a free java html web browser?
Thanks
Andy

Posted by b3herys
Gents

I got error message when proceed on step#6.

Could not open registry key:SOFTWARE\Sony Ericsson\J2ME SDK

what was wrong.
My OS is Win2K

Posted by en0203
For those who manage to get this trick to work, may i know what OS u guys are using? win xp SP2 or ?? i am using oldest win xp and couldn't get it to work. i am pretty sure that i have followed the steps right..

i am using T630. if i am not wrong, none has done it on a T630 yet, but this is strange, coz i thought T630 is just a T610 with TFT..

Posted by jamshedd
I've used WinXP SP1 and WinXP SP2.


Posted by en0203
i see. let me upgrade my win xp first.. i am not even sp1 =(

and may i know the firmware version of ur T616 too? =)

[ This Message was edited by: en0203 on 2004-11-12 13:26 ]

Posted by jamshedd
Firmware version : R1A054

Posted by en0203
Quote:

On 2004-11-12 23:19:23, jamshedd wrote:
Firmware version : R1A054



god that's the oldest firmware around?
hopefully that's not the reason why we can't connect coz all T630 have R4C and above =(


Pages:
1234  Next
Click to view updated thread with images


© Esato.com - From the Esato mobile phone discussion forum