title: How To Upload Image From Device To Server & How To Show On A Progress Bar How Much Data Has Been Uploaded?
body: <p>In my application , I want to do something like , when user clicks on a button it starts the device camera &amp; when user capture an image , it should be uploaded to a server. Now , when uploading the image , i want to show uploading progress on a progress bar. So the question stands like this , how can i upload an image to server so that i can show uploading progress on a progress bar which is declared on a xml file ? Now , I need some idea / example / sample code on how can i do the task.</p>