Go Back   Android Forums > Android Phones > HTC Sensation

test: Reply
 
LinkBack Thread Tools
Old June 14th, 2012, 02:26 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: May 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Camera causes website reload

Firstly, hello to you all. This is my first post, so please excuse any faux pas. I am trying to build an HTML5 website that will allow the uploading of photographs and am using my HTC Sensation running android 4.0.3 as a test device. The problem is that every so often, after taking a picture, the website reloads. This has happend with the default browser and with Firefox. I have cut down the code to the basic and yet the reloading still occurs:

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=no">
<head>
</head>
<body style="text-align: center; margin-left: auto; margin-right: auto;">
<input type="file" id="files" name="files">
</body>
</html>

Obviously this doesn't actually do anything with the picture, but the web browser still reloads. As far as I can tell, the phone always has at least 100MB of memory free and the reloading seems to be less frequent when I reduce the picture resolution. Once the website has reloaded due to the camera problem, it seems to be more stable.

I have also tried a number of websites and these also cause the browser to reload. Could it therefore be a problem with the browser or the phone?

Has anyone got any idea what is going on and how I can stop the site from reloading?

Advertisements
teaftollers is offline  
Reply With Quote
sponsored links
Old June 18th, 2012, 10:04 AM   #2 (permalink)
Member
 
leftystrat's Avatar
 
Join Date: Dec 2009
Posts: 129
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 4 Posts
Default

Two guesses:

1. low resources

2. current versions of browsers require permission to operate the camera. Perhaps this is related. [quite frankly, I don't want or need my browser to have camera permissions]
leftystrat is offline  
Reply With Quote
Reply

HTC Sensation
Current Rating:
Rate this Phone:

The HTC Sensation is a supercharged phone that launched as the manufacturer's flagship device upon release. It is packed to the brim with powerful specs and cutting edge design. The Sensation's 4.3-inch screen has an amazing 540 x 960 pixel... Read More

Tags
camera, crash, html5, website reload


Go Back   Android Forums > Android Phones > HTC Sensation
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:01 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.