Then put your canvas into a container div. At start up, get the screens aspect ratio using window innerWidth and innerHeight, work out the width your container div needs to be to fill the screen using the canvas height as the height, and set the containers width to that value. Then, using JavaScript, alter the viewport meta tag so that it contains width=TheNewWidth and whatever else you need in there.
Gaz
WebSettings webSettings = appView.getSettings();webSettings.setUseWideViewPort(true);webSettings.setLoadWithOverviewMode(true);
<meta name="viewport" content="width=640px, initial-scale=0.5, maximum-scale=0.5" />
Ideally, this should be made into a configuration option in Androidl to match the iOS EnableViewportScale option.
Gaz