title: Upload large file with progress bar and without OutOfMemory Error in Android
body: <p>I am having some problem while uploading large video file(upto 150MB)</p>
  
  <p>1.When I use this code <a href="https://stackoverflow.com/a/18821095/3499971">Link1</a> .I able to upload small file with progress bar ,but as my file is large so android give me <strong>OutOfMemory Error</strong>.</p>
  
  <p>2.If I use this code <a href="https://stackoverflow.com/a/5220954/2385424">Link2</a>. i am able to upload large file(this is really a good solution) but don't know how to show progess(like 20% complete or 80% complete and so on).so Please guide me.</p>