Dear eople who have any idea I'd like to know how to call Native Application. (phone,Video Telephony,SMS,MMS,browser) The environment is JTWI. Is this right way to do that? [Phone] platformRequest("tel:5511*********"); [Video Telephony] platformRequest("???"); [Mail] platformRequest("mailto:***@****"); [Browser]platformRequest("http://**********");
The platformRequest() method provides very limited functionalities and it is not even implemented on Nokia 6600/6620. For full access to the native PIM databases (contacts, mail box etc.) you need to wait for device vendors to implement JSR 75, which has not happened yet. Beyond that, there is no way to call OS native methods from MIDP environment. I think this is the single biggest problem with mobile Java today.
Thank you very much for reply. I wonder does any mobile implemente platformRequest() ,except for Nokia 6600/6620. If a device could implemente platformRequest(), can the device call Native Appli? Still no? Nokia 6600/6620 implemente follows. Do these API help to call Native Application at all? [JSR-120 WMA1.1] [JSR-135 MMAPI1.1] [JSR-139 CLDC1.1] thank you
Joined: Mar 07, 2002
Native API calls is not allowed by the MIDP spec. So, no MIDP compatible Java device would allow you do that.
Joined: Mar 29, 2004
Thank you very much for reply. Now I recognized that Native function cannot be called on API of JTWI, . Could we call any Native function on the device which implemented API of an extended class library?