0

I want to upload media files to g drive from my android app . First it should show all google accounts and on selecting any it should start uploading file or files with progress update . I tried to find over here and other forums but didnt get much to do it with progress bar . Can anyone provide me any reference sample code or link to do so. Thanks in advance.

SimpleCoder
  • 1,665
  • 1
  • 21
  • 34

1 Answers1

1

What have you tried? If you want a progress bar only I would implement the AsyncTask as per the documentation here and in the onProgressUpdate method I would update the progress of the progress bar.

Possible duplicate: Upload progress listener not fired (Google drive API)

Community
  • 1
  • 1
DKIT
  • 3,471
  • 2
  • 20
  • 24
  • http://stackoverflow.com/questions/37385591/how-to-upload-a-file-to-google-drive-folder-using-android-google-drive-sdk I have already tried and successfully saved file at GDrive. But i need code to show progress. – SimpleCoder May 10 '17 at 09:29
  • To update progress bar i need actual progress that how much file has been uploaded. I don't know how to. – SimpleCoder May 10 '17 at 09:31