Skip to main content

platformRequest usage with GUI bulder netbeans project

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2011-01-03

Hello. I have got some troubles with plaformRequest method with lwuit.
I used GUI builder, to create netbeans project, and now I have MainMidlet class and StateMachine classes;
I need to open http link in native phone browser;
When I try to use plaform request (platformRequest("http://mysite/myservice")) netbeans writes to me that it can't found this method.
How can I use it? I also tried Display.getInstance().execute("http://mysite/myservice"), but it doesnt work...

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-11-07

Display's execute works fine for me.
platformRequest will work for you within the generated MIDlet class since its a method of MIDlet.