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.
Asked
Active
Viewed 2,307 times
1 Answers
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)
-
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