aspose file tools*
The moose likes Java Micro Edition and the fly likes Call Native Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Call Native Application" Watch "Call Native Application" New topic
Author

Call Native Application

Lance Jacob
Greenhorn

Joined: Mar 29, 2004
Posts: 3
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://**********");
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
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.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Lance Jacob
Greenhorn

Joined: Mar 29, 2004
Posts: 3
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
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Native API calls is not allowed by the MIDP spec. So, no MIDP compatible Java device would allow you do that.
Lance Jacob
Greenhorn

Joined: Mar 29, 2004
Posts: 3
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call Native Application