Click here to Skip to main content
11,714,776 members (77,573 online)
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 Sergey Alexandrovich Kryukov 550
1 Richard MacCutchan 275
2 Maciej Los 274
3 ManasKumarM 155
4 CHill60 135
0 Sergey Alexandrovich Kryukov 545
1 CHill60 375
2 Maciej Los 324
3 Richard MacCutchan 310
4 OriginalGriff 260


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100