Reputation: 12379
Reading among the list of possibilities of the Java ME platform, its possible for a J2ME app running on a mobile to initiate a TCP Socket or HTTP connection with a server.
On similar lines, Is it possible to form a TCP socket connection between two mobile phones?
Upvotes: 1
Views: 2599
Reputation: 8671
Not if the server phone is running a J2ME app; J2ME does not support socket server connections. Also beware that many mobile operators do not allow socket server connections to be made on their networks.
Upvotes: -1
Reputation: 15236
You can open a ServerSocketConnection and a SocketConnection on the other side. This allow two way direct communication between two mobile phones. You can look at this page for some more details. But I am not sure about the security requirements and what is allowed and what is not using these classes.
Upvotes: 3