Questions tagged [wml]

WML is a markup language intended for devices that implement the Wireless Application Protocol (WAP) specification.

Definition (Wikipedia):

Wireless Markup Language (WML), based on XML, is a markup language intended for devices that implement the Wireless Application Protocol (WAP) specification, such as mobile phones. It provides navigational support, data input, hyperlinks, text and image presentation, and forms, much like HTML (HyperText Markup Language). It preceded the use of other markup languages now used with WAP, such as HTML itself, and XHTML (which are gaining in popularity as processing power in mobile devices increases).

Program Structure:

An example of the basic structure of a WML program:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN"
          "http://www.wapforum.org/DTD/wml12.dtd">

<wml>
  <card id="one" title="First Card">
    <p>
      This is the first card in the deck
    </p>
  </card>
  <card id="two" title="Second Card">
    <p>
      Ths is the second card in the deck
    </p>
  </card>
</wml>

More reading:

67 questions
13
votes
7 answers

HTML Input field force numbers

Is it possible to create an input field that sets the default input character set to numbers on a mobile phone (so the NUMERICAL KEYBOARD POPS UP)? For example to make it easier type in a telephone number into a HTML form.
user
  • 6,567
  • 18
  • 58
  • 85
7
votes
8 answers

Planning and Building a mobile enabled site for your main site

We are in the initial planning stages of building out a mobile site for one of our clients. This mobile site will be in addition to the main site that we have already built for them. We've determined that the content is going to be a small…
RedWolves
  • 10,379
  • 12
  • 49
  • 68
4
votes
2 answers

How could I get MIME type from a web view?

I'm about to develop a browser plugin that detects whether a page is WML and if so, it will be transformed to HTML via an API. What I want to do is override onPageFinished in WebViewClient and get MIME type from WebView. But there seems no such kind…
neuront
  • 9,312
  • 5
  • 42
  • 71
4
votes
2 answers

wap/wml still relevant in 2011?

To my surprise I couldn't find a short and clear answer for this question. Is WAP/WML still relevant for todays mobile web/app development? Regards, Milanko
user838531
  • 478
  • 5
  • 14
4
votes
4 answers

Is WML and WMLScript dead?

Is WML and WMLScripts are used anymore ? I remember writing WML apps with classic-asp on server-side and we used interact with phone functionality from client using WMLScript and WTAI and do some cool things like, adding phone numbers to address…
this. __curious_geek
  • 42,787
  • 22
  • 113
  • 137
3
votes
1 answer

How detect browser with .htaccess

I want detect user browsers with .htaccess & redirect when user does not entered the site from cell phone
totali
  • 260
  • 6
  • 22
3
votes
3 answers

Why we are going for Android since we already have J2ME and WML for creating Mobile Applications?

Hai friends, I have a doubt now, Has Android really replaced J2ME and WML? If Android has replaced these, then please tell me, what is the reason for that? How Android has replaced the other two mentioned above and what is…
Sankar Ganesh PMP
  • 11,927
  • 11
  • 57
  • 90
3
votes
1 answer

Internal hyperlinks in a MMS

Is it possible to put an internal hypertext link (or anchor) inside a MMS. I wan't to offer a user of a MMS service to choose between several links and make his way inside the MMS. Any idea how it is possible ?
lethargicpanda
  • 873
  • 1
  • 10
  • 18
3
votes
0 answers

Using Cellular network to download SoundCloud File returns wml file?

I have this weird problem. I obtain download_url from SoundCloud HTTP API /tracks, then if downloadable, I use the download_url with NSURLConnection to download. When using wifi to download, everything works fine! However, when using cellular…
John
  • 2,672
  • 2
  • 23
  • 29
3
votes
3 answers

Creating a WAP interface for a web application

We need to build a WAP interface for our web application, something like the m.domain.com, i.e wap.domain.com. i am a web developer and i need a quick and dirty tutorial or guide that would get me started immediately. My searches haven't produced…
Khizar
  • 2,288
  • 5
  • 32
  • 53
3
votes
6 answers

Is it possible to test a WAP site without using a mobile phone?

I was wondering if it was possible to do this via a browser or an emulator. When I try it from my browser I get "Unknown file type text/vnd.wap.wml" Thanks Shiraz
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
2
votes
5 answers

WML-like solution for iPhone

We are developing a web application that should be accessible from a mobile phone. It involves a simple text-only tree catalog. To avoid extra round-trips to the server to expand the tree items as you click on them, I decided to use WML. It allows…
Quassnoi
  • 413,100
  • 91
  • 616
  • 614
2
votes
1 answer

What's the best way to add a URL parameter to switch views with Zend Framework?

I'm developing a mobile site using Zend framework, and the site has two possible output formats (WML and XHTML). I'm using the same models and controllers, and then just setting which view to render with in the controller. At the moment, this is…
Richard John
  • 487
  • 6
  • 15
2
votes
4 answers

With modern mobile devices, is it best to use WML or HTML?

With today's modern mobile phones, is it still worth programming the mobile version of your site in WML? Most mobile browsers even a few years old can manage to do okay in regular HTML. With WML, you are obviously given more control over what is…
Andy Baird
  • 6,088
  • 4
  • 43
  • 63
2
votes
5 answers

How would I identify if a website originates from a mobile browser?

Is developing a website for a cellphone a totally different world? How would I detect whether a page is visited from computer or from a cellphone? I ask this because I see code like below: if (isset($_SERVER['HTTP_ACCEPT'])…
user198729
  • 61,774
  • 108
  • 250
  • 348
1
2 3 4 5