platformRequest problem ...
Hi,
I'm trying to use the platformRequest method with the statement :
parent.platformRequest("file:///root1/web/page.html");
And it keeps giving me :
Performing platformRequest for URL: file:///root1/web/page.html Without any other results.
What's the problem ?
Note : Am using WTK ...
Thanks in advance ...
[383 byte] By [
armenaga] at [2007-11-27 4:58:19]

# 2
when i apply the platformRequest, in the WTK console it prints Performing platformRequest for URL: file:///root1/web/page.htmlbut it does not display the web page, i hope that you got me ...Thank you ...
# 5
On which device are you trying it. In case if most of the device you need to exit your application after calling platformrequest.
In some cases you dont need to exit the application, e.g nokia's 3rd edition devices. but in case of Series 40 devices you need to exit your midlet after calling platformRequest. like
if(platformreqeust(url))
{
exitMIDlet(); // call method to exit your application.
}
let me know if it helps
Regards,
Omar Rehman
# 6
It' returning false, all i want to do is to view some web pages in my MIDlet, so, is there any other way to do so ?Thanks in advance ...
# 7
I dont think there is any way to view web pages in your midlet. you can open your mobile's default web browser by calling platformRequest. Else you writre your own web browser. :)
Secondly why are you wirting file:// in url. you better give a url of a web page. like http://yahoo.com
Regards,
Omar Rehman
Message was edited by:
ilmian