Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call Native Application

 
Lance Jacob
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Lance Jacob
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Native API calls is not allowed by the MIDP spec. So, no MIDP compatible Java device would allow you do that.
 
Lance Jacob
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic