Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • 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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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