I'm using WordPress and Contact Form 7 plugin on this page. There is a file upload field, it's simple and valid HTML:
<input type="file" name="your-cv" size="40" class="wpcf7-form-control wpcf7-file wpcf7-validates-as-required" accept=".doc,.docx,.pdf" aria-required="true" aria-invalid="false">
The form works perfectly on desktop, iOS, but Android users can’t use file upload. They just cannot choose a file with “file chooser” on android. After they click on “file picker”, android dialogue window with “no apps can perform this action” text will appear.
android screenshot
How can I solve this? Users reported, that they don't have such problem on other websites.
Thanks.
HTML file input gallery doesn't show while select any file using android mobile, i'm not able to understand how to fix it but i tried it
<input type="file" ca accept="image/*"/>
but doesn't work on android someone have any idea?
I am trying to show only those files whose extensions are jpg,png or jpeg .
my html of form is this
<input data-max-size="246k" accept="image/*" class="hidden" onchange="readURL(this);" type="file" name="entry[paperclip_infos_attributes][new_paperclip_infos][picture]" id="entry_paperclip_infos_attributes_new_paperclip_infos_picture" />
it is working fine which i want but in android phone it asking for some more options for image upload like kingsoft office and wps office.
There is no issue in iphone.
how can i control this options..??
I am developing an IOS/Android app using cordova,php jquery and phonegap.
In android phone versions above lolypop,when uploading images/videos using <input type=”file” /> instead of showing options like gallery and capture, it shows additional options like gallery,recent,capture, dropbox, and other cloud app storages. I want to restrict this feature and point the file input only to gallery
I want the solution exactly like below screenshot? Is there any options for restricting dropbox/other app feature?
add this attribute to your input tag
<input type="file" accept="image/*"/>
is the html5 working on android 2.2 and above?
i was tried a youtube link, but it is working with js.
they just adding <!DOCTYPE html> that all then say is support html5?
and i tried to put other html5 coding as below
<form action="/newaccount" method=post
oninput="up2.setCustomValidity(up2.value != up.value ? 'Passwords do not match.' : '')">
<p>
<label for="username">E-mail address:</label>
<input id="username" type=email required name=un>
</p>
<label for="password1">Password:</label>
<input id="password1" type=password required name=up>
<p>
<label for="password2">Confirm password:</label>
<input id="password2" type=password name=up2>
</p>
<input type=submit value="Create account" />
</form>
is it html5 must with jquery or javascript then will working at my android device 2.3.6?
is it now html5 full support with android 4.0 only?
You want to explore Phone Gap. Its a platform-independent development environment which converts apps written with HTML5, CSS and JS into publish-ready Android, IPhone, Windows etc apps.
http://phonegap.com/
yes html5 is working on android 2.2 and above.
html5 support with android browser
its possible that your emulator does not support some feature.
try to run your app in device.
No browser currently fully support HTML5, but some support most of the specifications.
The built-in browser of Android 2.2 does support the type=email specification.
<!DOCTYPE html> only applies when making a webpage.
It converts basic html to html5.
Html5 on Android 2.2 only supports:
<!DOCTYPE html>
2D Context
Text
Selection of elements - embedding custom non visible data
Dynamic mark up insertion
Base64 encoding and decoding
Cross document messaging
One field type- input type=text
HOWEVER, it doesnt support:
html5 tokenizer, html tree building, svg in text/html, mathML in text/html,video element, subtitle support, poster image support, MPEG-4, Audio, MP3
Nearly all field types:
input type=search
input type=tel
input type=url
input type=email
input type=datetime
input type=date
input type=month
input type=week
input type=time
input type=datetime-local
input type=range
input type=color
input type=checkbox
input type=image
textarea
select
datalist
keygen
output
progress
field validation
form validation
APIs
Spellcheck attribute
Session history
Geolocation
Device Orientation
FileReader API
Local Storage
Access the camera
Full Screen
But Google say it does well in SandWich Ice Cream