• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

palmtops and the outside world

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic