File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes palmtops and the outside world Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "palmtops and the outside world" Watch "palmtops and the outside world" New topic

palmtops and the outside world

david russell

Joined: Feb 28, 2002
Posts: 14
hey, has anyone had experience connecting a palm running a j2me program to the pc on which its hosted? i have a working app on the emulator, but i want to see it running on the palm device. has anyone experienced setting network settings? its really doing my head in
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
Maybe you may want to read the following article:
Towards the end there is a section called "Advanced Java Applications" which explains how to set up the network and stuff...
Basically, there are 2 things you need to do:
1. Redirect Netlib calls to host TCP/IP. To do this, right click on POSE window, select Setting -> Properties, and check the Redirect NetLib calls to host TCP/IP
2. Enable Networking. To do this, tap the Java HQ icon, then tap Preferences and select Networking Enabled

[Blog] [Blogroll] [My Reviews] My Linked In
david russell

Joined: Feb 28, 2002
Posts: 14
thanks for the reply, i checked out that article early on and quite recently.
i have got the pose working properly and my midlet works fine on the emulator, but when i put it on a real device i cant make it connect through the cable to the pc. i use the ppp protocol and it does try to connect, but the connection always times out with nothing happening
ive trawled the various sun sites and other forums for anyone with the same experience, but there is usually nothing or no replies to a post. its a puzzler alright!!
Michael Yuan
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Yes, you should be able to simulate TCP/IP network over the serial line or IR port. Have a look at the following two articles:
I think you mentioned that your connection always goes time out? check:
1. IP addresses are correct;
2. You do not have a forewall on the PC that prevent access from the PPP interface;
3. The speed specified in pppd should match the speed in Palm pref-->connection

Seam Framework:
I agree. Here's the link:
subject: palmtops and the outside world
It's not a secret anymore!