network hardware environment Seting!!

I want to develope a network palm programm, I don't know how to set up the hardware environment?

use the cradle, palm ,PC,or emulator, enough?

how to set the connection between palm and pc? by serial port ? or by mobile phone?

By serial port can debuge tcp/ip programm?how about use emulator?

does serial port can map tcp/ip connection?

Best regards

java2@263.net

[424 byte] By [liluqun] at [2007-9-26 1:36:36]
# 1

Hardware environment:

You need a palm hotsync cradle connected to the comm port of the computer.

Install the palm software. To download your applications, just convert your MIDlets to *.prc files, double click on them then press the hotsync button on your palm to download the application into your palm

Emulator can be downloaded from www.palm.com or www.palmos.com if I'm not mistaken search for the emulator

By putting TCP/IP I take it that you mean HTTP connection. To do this you need to set up your palm to connect to the internet using a device.

Personally, I use a WAP phone with infra red port to do this.

axlrose82 at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
I mean Palm programms not midlet programms!Do we must have a internet connection to debuge a tcp/ip programm communicate palm and PC?Will a palm,cradle,PC do?Suppose I have a pc with modem, a palm IIIc and a mobile phone, will this environment be enough?
liluqun at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3

> I mean Palm programms not midlet programms!

> Do we must have a internet connection to debuge a

> tcp/ip programm communicate palm and PC?

> Will a palm,cradle,PC do?

> Suppose I have a pc with modem, a palm IIIc and a

> a mobile phone, will this environment be enough?

Oh I see, Anyway, sorry for the misunderstanding as well since you posted this in KVM forum, so I took it to be you are using MIDlet

Yes you need an internet connection to debug a TCP/IP programme. However, this can be done on the emulator.

Right click the emulator, select properties and check redirect all InetLib calls to TCP/IP

With the emulator, you only need the programmng IDE, compiler etc and a TCP/IP connection.

However if you wish to test it on the palm itself then you will need the PRC converter, hotsync cradle and actual palm device itself.

axlrose82 at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

I have tried according to what you said. but fails, Please give me the details!

I use the emulator

But I redirector the tcp to com1, how about the emulator's IP? In desktop pc, to connect pc with the emulator, the pc use NIC, the emulator uses serial port comm1,how can I set up the physics connection?

Best regards!

liluqun at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5

You don't have to redirect the TCP to any comm

Just check the "redirect InetLib calls to TCP/IP" box.

Put "None" under the serial port.

Assuming that you are using a modem connection.

Everytime you want to establish a TCP/IP connection,

you will have to dial up to your ISP first.

And then you run the application

axlrose82 at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
Do you mean, when I use emulator in a pc, if I want to debug a netwrok programm, I must install a modem to the pc, use the pc dial up..? How about, I have a Lan network?
liluqun at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7
Yes when you use the emulator, you must install a modem if you do not have a LAN network.
axlrose82 at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 8
how about I have a ISDN connection?use only one PC will do the debug and get the simulation: emulator with the pc
liluqun at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 9
yes, the only thing I believe which you cannot do on the emulator is infra red
axlrose82 at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 10

I do the following:

in prefs, I select network:

service: I worte 172

use name:172

password I write 172:

connection: I select current

phone:172

I do not know if my configuration is correct!

how can I test if the connect is successful?

Best wishes!

liluqun at 2007-6-29 2:22:21 > top of Java-index,Java Mobility Forums,Java ME Technologies...