Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: HTML Android UI
i have created an android app using phone-gap[Android].
 
Here i am able to zoom my first .html page of application, but when ever i moving/redirecting to a page by clicking the anchortag/button of my first .html page there i am unable to zoom the second .html page
 
i have added below things in my .java
 
WebSettings settings = appView.getSettings();
settings.setBuiltInZoomControls(true);
settings.setSupportZoom(true);
settings.setDefaultZoom(ZoomDensity.FAR);
 
and i have also added the following in all my .html pages.
 
<meta name="viewport" content="user-scalable=yes, width=device-width, initial-scale=1,minimum-scale=1, maximum-scale=6, target-densityDpi=device-dpi" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
so here my question is: how to enable the zooming effect
 
any help will be appriciated.......
Posted 2-Aug-12 2:13am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 324
1 Maciej Los 224
2 Sergey Alexandrovich Kryukov 182
3 Richard MacCutchan 120
4 CPallini 120
0 OriginalGriff 5,474
1 Sergey Alexandrovich Kryukov 4,713
2 Peter Leow 2,944
3 DamithSL 2,465
4 Maciej Los 2,434


Advertise | Privacy | Mobile
Web02 | 2.8.140718.1 | Last Updated 2 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid