Is it possible to connect a mobile phone (for example two Nokia 7210 phones) to another mobile phone using J2ME/MIDP-programming platform.
Is it possible to connect a mobile phone (for example two Nokia 7210 phones) to another mobile phone using J2ME/MIDP-programming platform.
For most phones available on the market, it is impossible to let two phone communicate with each other directly. Since these only support http connection and it only can talk to http server.
For some phone support SMS, it is possible of direct communication if the SMS API accept incoming SMS.
The current way of doing that is going through a middleman like web server, etc.
Hi,
If you use MIDP 1.0 with no extension packages that is not directly possible. However, it is somehow possible as follows. Two MIDP applications make http requests to a same server and they exchange their data on the server.
More direct connection is possible via SMS. Nokia SMS API and Wireless Messaging API enables sending and reciving of SMSs in a MIDlet. Nokia SMS API is supported in Nokia 3410. At least Nokia 3650 will support Wireless Messaging API.
In the future, MIDP 2.0 will include socket support. In addition, bluetooth APIs will make short distance connectivity easier.
Best Regards,
JP / Forum Nokia