• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

File upload

Hi,

I used  <input type="file" name="uploadfile">  in jquery mobile

Which is working fine in desktop and iphone , but when I click on it in android htc mobile nothing happens, it’s not even opening up , what I need to add extra apart from this , please suggest  and i am using asp.net mvc, with jquery mobile
0
praveen1981
Asked:
praveen1981
  • 2
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
According to this article http://viljamis.com/blog/2012/file-upload-support-on-mobile/ , it didn't work on early versions.  And then according to this article, http://code.google.com/p/android/issues/detail?id=62220 , it was never supposed to work and was removed on Android 4.4.
0
 
praveen1981Author Commented:
Hi

I solved this issue by using click event of input file

I used the following

injectedObject.openCameraJS("callback");

now i am getting the HttpRequestMessage  request , from there i  am converting FromBase64String  and i am getting imagebytes, by this way i am getting the image.
0
 
praveen1981Author Commented:
it solved
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now