• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

link to a wap site from a midlet

 
mario alberto la menza
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, friends. I'm new with j2me, anybody know how can put a link to a wap site into a midlet (or in a midlet canvas)?.
Best regard and thanks in advance
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's an example. You might also want to bookmark w3schools.com as a nice reference for WML syntax.
 
mario alberto la menza
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lasse, may be my english is not sufficient to explain me clearly. My question is not how configue a wap site to download a MIDlet. My question is; How can put a button, or a comand, on a midlet's screen to open a wap site (opening a wap browser). Like in one "About" windows, where ever have a hyperlink to a developer's site.
In any case thank you very much for your help.
 
Michael Wiezik
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mario,
I cannot recall if standard j2me API allows using WAP pages in midlets. I can be wrong, I didn't use it for a long time. Look at API.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The MIDlet.platformRequest("wap://host") method in MIDP 2.0 is supposed to do what you want. However, several current MIDP 2.0 devices (noticeably, the Nokia 6600) do not implement this correctly ...
 
mario alberto la menza
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys, I supposed this stuff don't be easy. Any way thanks a lot. I'm new in Javaranch too, and really is surprising your predisposition to help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic