| Reply | « Previous Thread | Next Thread » |
|
hi all,
i'm a newbee to J2ME. i found one module on how to develop a MIDlet in J2ME that will act as a modem to a pc connected via bluetooth or serial port or any other media? i thought i should as follow 2 steps: 1) Running a midlet on the phone that will be the server (appropriately a proxy server) 2) Running another midlet on the pc that will act as a client (just like RMI) which can access the internet via the mobiles GPRS connection? which part of J2ME can help me in this regard and whilch SDKs and emulators can do this for me? how to implement this? your suggestion will be appreciated. |
| rohitoberoi6592 |
| View Public Profile |
| Find all posts by rohitoberoi6592 |
|
I don't think I get it (what you wish to accomplish, really). You can simply use most mobile phones as GPRS modems for a PC without any MIDlets whatsoever on the phone. Just configure the PC to detect the phone as a modem, and do all the communications (access the Internet) directly from a PC based app.
To make it easier with Nokia phones, use Nokia PC Suite ( http://www.nokia.com/pcsuite ) and the "Connect to Internet" feature it has. |
|
that is what is my work. i've to implement that concept in J2ME. The thing is like this that whenever the mobile (bluetooth enabled) will come in the piconet of the PC, the PC has to identify it and then it will use the GPRS service associated with the mobile to access the internet.
i've to configure the device driver in J2ME, i've been told NOT to install any driver, instead the MIDlet will do the job for me. The MIDlet has to identify the bluetooth deviice and then configure the mobile as the modem for the pc. any idea. thnx in advance |
| rohitoberoi6592 |
| View Public Profile |
| Find all posts by rohitoberoi6592 |
|
The phone already does the work for your MIDlet; if you have it paired with a PC (and its Bluetooth sw) and the phone's Bluetooth is on, as soon as the phone comes within the range of the PC, it is automatically detected (as a modem).
Is this a work assignment, or some sort of school/educational project, because it doesn't sound to me as it makes much practical sense. And, in any case, you can't in any phone I know disable the built-in Bluetooth modem service/behaviour of the phone with J2ME and have your MIDlet handle it instead. |
|
you are right. my job is this that i've to replace the Nokia PC suite or similar automatic configuration software.
I need to re-define the driver that connects the PC with the Mobile. I'm not getting any relevent information how to implement and where to get sufficent resource? please help. |
| rohitoberoi6592 |
| View Public Profile |
| Find all posts by rohitoberoi6592 |
|
You've been put into a difficult position; you'll never be able to do something like that through just a J2ME MIDlet on the phone.
You can, of course, write a MIDlet that opens IP sockets to the network side, and also talks over Bluetooth with another app on the PC (you need to write both apps), but it'd be very hard to make the a generic "modem" pipe for the PC. And if that's all you want, if you need to install custom software on both the phone and the PC for that, what's the point if it works already like that with built-in software on both? If you need PC Suite -like functionality, then J2ME on the device will not be nearly enough (you'd have to go C++ and restrict yourself only to Symbian based devices), and you still need to install sw on both the device and the PC, and in the case of PC Suite you only need PC Suite, instead of specialized phone software. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Phone with modem - advice | kmdhali | General Symbian C++ | 3 | 2006-06-05 10:48 |
| Access cell phone line to send AT commands to a pc modem | sssoares | Mobile Java Tools & SDKs | 0 | 2005-09-07 22:53 |
| How to access the Phone Number from the J2ME Application | nuwan14d | Mobile Java General | 1 | 2003-09-04 08:19 |
| How to access the Phone Number from the J2ME Application | nuwan14d | PersonalJava | 0 | 2003-09-03 13:18 |