Forums Register Login

Local Connection from Phone to PC

+Pie Number of slices to send: Send
I want to connect to a servlet from a midlet which is running on a Nokia 6600 phone which is connected via Infrared to a Laptop.Tomcat is running on this Laptop but the midlet can't seem to connect to the servlet despite the infrared connection between the two. I am actually a new j2me developer so i dont know if i am missing something somewhere.
Thanks
+Pie Number of slices to send: Send
If you use HTTP as the communication protocol between
your MIDlet and servlet, then you need to use a network
binding (or access point) that supports HTTP (Note: on both ends).
GPRS via an appropriate carrier/network operator is one example.

This assumes your servlet is visible on a web server someplace
on the public Internet.
[ July 06, 2004: Message edited by: James Reilly ]
+Pie Number of slices to send: Send
IR is a serial connection. It cannot get to the TCP/IP ports on your laptop. This has nothing to do with J2ME though. You need to connect via GPRS to get to a servlet.
+Pie Number of slices to send: Send
 


IR is a serial connection. It cannot get to the TCP/IP ports on your laptop. This has nothing to do with J2ME though. You need to connect via GPRS to get to a servlet.



Hi, want to know how can I develop a Java app that send data, via Serial connection, to a J2ME app (a MIDlet that use this data to load a RecordStore).
I'm a new J2ME developer, that knows a bit about J2ME, and less about J2SE
+Pie Number of slices to send: Send
Hi, anyone there can help me???

Mainly I need help in the Java app running in the PC.
This app have to get the data from a MySQL Server (aprox 4000 records) and send the data via Serial connection to a Phone connected to the COM port.
This Phone must be running a MIDlet that receives this data to load a RecordStore.
I know how to do the last part... But I don't know how start with the Java App for the PC, and how to synchronize and serialize the data from MySQL to the MIDlet.

PD: I never used JDBC to connect to a DB Server... Where I can find information to do that?

From already thank you very much
I knew I would regret that burrito. But this tiny ad has never caused regrets:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1568 times.
Similar Threads
Connecting to server via IRDA port
making a midlet on phone to access a servlet on pc
deploy midlet
How to use infrared to extract midlet from mobile phone to PC?
Phone to PC Connection
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 23:50:56.