Click here to Skip to main content
12,397,805 members (55,451 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: HTML Mobile 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 2 Aug 2012
Copyright © CodeProject, 1999-2016
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