views:

301

answers:

2

As is disabled on Android, is it possible to upload a photo from library, in Browser somehow? Camera/Photo Library JavaScript API?

Thanks

A: 

The webkit browser in version 2.2 (Froyo) supports file uploads via the typical HTML form mechanism:

Alan Neal
I think this answer is not acceptable, given the Android fragmentation. Compatibility is, I believe quite important, and we'll have to wait some time before it's really available to Android users. Besides, almost no actual phones has Froyo yet.
Savageman
A number of the Verizon Android phones do have 2.2, mine (an HTC Incredible) included. And, I tested file uploads on it. That said, I completely agree that compatibility is important, however, I don't presume to know elado's situation. It's possible that depending on Froyo is better than no solution at all.
Alan Neal
well, as of this comment 28.7% of Android installations are currently running Froyo: http://developer.android.com/resources/dashboard/platform-versions.html
James A Wilson