Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread Scaling on a mobile device
Thu, Sep 5 2013 12:11 PMPermanent Link

Uli Becker

When I run an application created with EWB, I cannot zoom it in a browser on a tablet e.g.

How can I achieve  that?

Thanks Uli
Mon, Sep 9 2013 11:00 AMPermanent Link

Claudia Borsel

The culprit seems to be the generated html-file header:

<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">


It does what it is said to do.
Hand-editing after "compiling" may work, until elevate sw makes this customizable per project.
Mon, Sep 9 2013 11:23 AMPermanent Link

Claudia Borsel

Because I handled resolution issues by code, I actually had to remove the viewport completely in an automated way, to keep my code working properly, using this tiny python script:


fil = open("index.html", "rb")
cont = fil.read()
fil.close()
splitcont = cont.split('<meta name="viewport"')
part2 = splitcont[1].split('maximum-scale=1">')[1]
fil = open("index_noViewport.html", "wb")
fil.write(splitcont[0] + part2)
fil.close()
Mon, Sep 9 2013 4:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< When I run an application created with EWB, I cannot zoom it in a browser
on a tablet e.g.

How can I achieve  that?  >>

You can't, at least not right now.  I'm going to have to add a project
option for that.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Sep 10 2013 4:57 AMPermanent Link

Uli Becker

Claudia,

thanks a lot - works fine.

Uli
Tue, Sep 10 2013 4:58 AMPermanent Link

Uli Becker

Tim,

> You can't, at least not right now.  I'm going to have to add a project
> option for that.

That would be fine, since using tablets is getting more and more popular.

Uli
Wed, Sep 11 2013 1:06 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< That would be fine, since using tablets is getting more and more popular.
>>

Yes, I know - that's why I specifically added that tag to the output.  It
was mentioned in the release notes.

Tim Young
Elevate Software
www.elevatesoft.com
Image