2012-01-31

Camera support in Android Firefox

webmastering

Several days ago, my Android phone asked me manualy update firefox browser. Usually it does not require manual update, but now it did, it was caused presumably because application permissions was changed. As I hoped the change was in camera permissions - if old version was not able to use camera at all because of lack of necessary permissions now when I manually accepted new permission set with camera access it should be possible.

So new version is capable to upload images right from mobile camera. It is working the following way: once you opened the page with upload button, the upload button has small "capture" button near it. If you click the button small preview window will appear with camera capture preview.

To activate new feature you should set up for the tag input[type=file] attribute accept="image/png"

Open this page on your mobile firefox to see this in action: http://maxistar.ru/kitchen/camera.html

It was tested on Motorolla Milestone 2 (Android 2.2)

 

comments:

 
commenting RSS

You may not introduse yourself each time you leave a comment if you enter as registered user.

Name*
Turing number:

There are only br, font, span, p, strong, u, p, blockquote, a, div, img - tags allowed here, other tags will be removed

разное (143)
howto (103)
программирование (91)
PHP (43)
JavaScript (39)
вебмастеринг (35)
мысли (34)
гаджеты (30)
юмор (21)
полезное (17)
гондураша (17)
движек (17)
linux (14)
софт (14)
беспредел (10)
деньги (10)
видео (9)
ztools (8)
путешествия (7)
кино (7)
музыка (7)
Nokia 5800 (7)
интернет (7)
занимательная физика (7)
хостинг (7)
lifehack (6)
css (6)
вебдизайн (6)
прелоадер (5)
связной (5)
ActionScript (5)
Python (4)
козлы (4)
книги (3)
рестораны (3)
энергия (3)
oDesk (3)
synphony (3)
svn (3)
Ruby on Rails (2)
кухня (2)
Java (2)
гитара (2)
webmastering (2)
спорт (2)
языки (2)
Android (1)
software (1)
programming (1)
технологии (1)
C++ (1)
bash (1)
наука (1)
SEO (1)
аниме (1)
авторское право (1)
сайты (1)
Search in blogs:

Valid XHTML 1.0 Strict