Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartGWT + mobile development question

    Hello,

    I want to incorporate a mobile View in my webapp. I want to load it, once it is detected that the browser is a mobile device.

    This is easy.

    But since both mobile and normal view use the same entry Html file
    MyProject.html, I could not make use of mobile specific meta tags like:
    Code:
    <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
    <link rel="apple-touch-icon" href="img/sytematicicon.png" />
    <meta name="apple-mobile-web-app-capable" content="no" />
    (or can I use 2 html files somehow? I doubt it)

    What would you recommend for the mobile view, given the absense of these meta tags? The mobile view is just a simple 3 column non-editable listgrid (or similar, maybe just a simple VStack).

    Does it work if I just put this VSTack on width 100%? I want to make sure the site won't look 'zoomed out' .

    So basically I am just looking for some guidelines. Anyone?
Working...
X