Solved

File upload

Posted on 2014-03-20
3
218 Views
Last Modified: 2014-03-29
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
Comment
Question by:praveen1981
  • 2
3 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39941670
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
 

Accepted Solution

by:
praveen1981 earned 0 total points
ID: 39949582
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
 

Author Closing Comment

by:praveen1981
ID: 39963521
it solved
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now