• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

link to a wap site from a midlet  RSS feed

 
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
 
author
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.
 
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.
 
author
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.
 
What's that smell? Hey, sniff this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!