This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

palmtops and the outside world

 
david russell
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
dave
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you may want to read the following article:
http://wireless.java.sun.com/midp/articles/palm
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
 
david russell
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,
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!!
dave
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
http://www.oreillynet.com/lpt/a//network/2000/05/05/magazine/PalmLinux.html
http://deepwave.net/ref/palm-net/
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic