hi, i want to open comm. Connection on Palm VIIx serial port by using JWTK 1.0.3 (CLDC + MIDP). JWTK includes 'MIDP for Palm OS' which doesn't support comm. Connection for that reason i get ConnectionNotFoundExcetion. i just want you guys to help me in; 1."What are the other possible and feasible ways to open a comm. Connection on Palm VIIx using J2ME"? 2."Can we make some special calls to native Palm APIs from J2ME to solve this problem? If yes, then How?" please do include some part of code?(if required) and related links in your reply. Your quick response would be much appreciated. Thanks and Regards, Aamir Chaudhry
Eric Giguere
Ranch Hand
Joined: Oct 25, 2000
Posts: 170
posted
0
The only protocol officially supported under MIDP is HTTP. Individual vendors may offer other protocol support as extensions, but so far MIDP4Palm doesn't. So there's nothing you can do with MIDP4Palm right now. And no, you can't add your own native code because the CLDC does not allow for new native code to be added to a Java runtime environment without recompiling the VM. If you really want to do this, look into other alternatives like esmertec's Jbed or IBM's J9, they offer access to the low-level Palm stuff.
Actually, from MIDP4Palm document, it says that on Palm VIIx device, it does not support HTTP protocal, instead it suports inethttp protocal. My testing results on the actual Palm VIIx prove it is true. Liang
dan moore
Ranch Hand
Joined: Nov 04, 2001
Posts: 68
posted
0
esmertec were actually advertising that they support serial connection under the J2ME Connection classes ("serial" or "comm" protocol if i remember) on the palm. cheers, dan
dan moore, infomatiq ltd.<br />email dan@infomatiq.co.uk<br /><a href="http://www.infomatiq.co.uk" target="_blank" rel="nofollow">http://www.infomatiq.co.uk</a>