How can we capture photo and upload on server in phonegap application.
Server side code is mvc4 C# action.
We have to send two more values (name and ID) on server with image.
How can we capture photo and upload on server in phonegap application.
Server side code is mvc4 C# action.
We have to send two more values (name and ID) on server with image.
I can't speak to the android or phonegap piece, but for your MVC action, please look into HttpPostedFileBase
- Haacked.com has a great article on it: http://haacked.com/archive/2010/07/16/uploading-files-with-aspnetmvc.aspx
I tried to ask a similar question but no response. Not sure if it can be done. There are a lot of PHP examples though.