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

Issuses in Platform Request

 
Sasi Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any option to come back to the application when we call a platform request.Now in j2me when we call a platform request for calling a URL ,the application goes to suspend mode it call the browser ,After we close the browser it doesnt come back to the application automatically ,is there any option to come back to the application.
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must take the MIDlet life-cycle into account when you use platformRequest().

Some MIDP platforms are more restricted than others. For example, some don't support concurrent processing, so the MIDlet must exit before the platform can honor a service request. Recall that platformRequest() returns true in such cases, giving your MIDlet fair warning that it must exit.

So we need to know what approach you are working on as well as what api you are using for calling a URL, there are other classes and methods available: The MIDlet package defines Mobile Information Device Profile applications and the interactions between the application and the environment in which the application runs. Thus: The capabilities of a device vary from one vendor to another, as well as a possible wide range of processor power that may be available in one device compared to another device within the same product line.
[ January 13, 2008: Message edited by: Nicholas Jordan ]
 
Sasi Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the below code for call a telephone using platform Request,is it possible or not to come back to the application,
try {
midlet.platformRequest("tel:04312331514");
} catch (ConnectionNotFoundException e) {

e.printStackTrace();
}
please reply clearly.
Thanks
Sasikumar.T
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Sasi Kumar T",
Please check your private messages.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"SasiKumar _t"
Please check your private messages, again.
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You better check your pm - Ranch does not let this go on very long.

Control should return to application, ( generally ) may we see some code ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic