File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes communication between pc and mobile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "communication between pc and mobile" Watch "communication between pc and mobile" New topic
Author

communication between pc and mobile

Ajeesh Moidutty
Greenhorn

Joined: May 18, 2006
Posts: 22
i need to develop a j2me app to communicate(simple chat) so that i
can chat with my pc through a java app on my system.

Can you tell mw how to make this possible?
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
Write both sides in Java, use the javax.bluetooth package.


"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
vasa kinnar
Greenhorn

Joined: Sep 26, 2007
Posts: 1
First you have to develop the device discovery and device search program and using this, you can search the device and then you can do the chatting between them.

Fist develop device discovery program which will search device available currently with bluetooth on.

and then search service availabe for that device.

This work you have to do just. After that it is easy to chat between them
Husam Haddad
Greenhorn

Joined: Feb 20, 2008
Posts: 5
Dear all,
It is doable, but you should be carefull about the server side, if you want to use J2SE application in sever side , you should use the socket connection, otherwise if you want to use J2EE app like Servlet, you should use the Http connection and don't worry about the connections because the J2ME supports the both connections, but you should use the GPRS or WiFi (if device supports) to connect to server.

[ February 20, 2008: Message edited by: Husam Haddad ]
[ February 20, 2008: Message edited by: Husam Haddad ]

The programming is art
SJCP 83%, SCWCD 89%
Gjorgi Var
Ranch Hand

Joined: Feb 24, 2004
Posts: 85
I was on a brink to open a new topic with almost the same question...
1. Any good tutorial you've seen lately on java bluetooth connection with cellphone?
2. Would like to take that communication further and use the mobile's phone line for IVR and music-on-hold. Anybody done that in Java? Any helpful tutorial on such a topic?
Austin Lee
Ranch Hand

Joined: Feb 18, 2008
Posts: 56
The simplest way is using the blubooth.
But if you need a stable solution, use the pc as a server.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: communication between pc and mobile
 
Similar Threads
How to Test EJB
What graphics card?
Hello Friends
How to control pc notepad by bluetooth enabled android device?
java.net.ConnectException: Connection refused