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

Issuses in Platform Request

Sasi Kumar
Greenhorn

Joined: Jan 12, 2008
Posts: 5
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

Joined: Sep 17, 2006
Posts: 1282
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 ]

"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
Sasi Kumar
Greenhorn

Joined: Jan 12, 2008
Posts: 5
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

Joined: Dec 11, 2004
Posts: 13410

"Sasi Kumar T",
Please check your private messages.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"SasiKumar _t"
Please check your private messages, again.
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
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 ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Issuses in Platform Request