- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, first, sorry for my english xD.
I ask you help please. I don't know why, but my hybrid app is not zooming. I've tried changing the viewport but nothing (even with the example page). I don't know if this is problem of the XDK version. Yesterday I downloaded this version. Before i had not this problem. This is my code.
<!DOCTYPE html> <html> <!-- * Please see the included README.md file for license terms and conditions. --> <head> <title>Blank Cordova Mobile App Project Template (Lite)</title> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- see http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/quick-tip-dont-forget-the-viewport-meta-tag --> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes, minimum-scale=1, maximum-scale=20"> <script src="cordova.js"></script> <!-- phantom library, needed for Cordova api calls, added during build --> <script src="js/app.js"></script> <!-- recommended location of your JavaScript code relative to other JS files --> <script src="xdk/init-dev.js"></script> <!-- normalizes device and document ready events, see README for details --> </head> <body> <p>Hello, Cordova!</p> <img src="img.jpg" width="900" height="600" /> </body> </html>
Thanks for your help
- Tags:
- HTML5
- Intel® XDK
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where are you trying to zoom? In a built app? In the Simulate tab? In App Preview? Confirm it works or fails in a built app, first. The other environments are not perfect simulations, they have limitations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ooh sorry, you had right, the problem was in de App Preview, but in the built apk the zoom works.
Thank you!!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page