I am trying to upload file on google drive from the picker, I refered https://github.com/googledrive/android-quickstart it's working good but it's only uploaded image instead I want to upload number of types file like text,apk,image etc. So how can upload it? Can any one help!!!
Asked
Active
Viewed 138 times
0
-
you are from pune? – Amit Ranjan May 11 '16 at 10:38
-
No, Can you help to solve this problem? – May 11 '16 at 10:40
-
the link you have mentioned not working for all the file types ?? – Amit Ranjan May 11 '16 at 10:42
-
No, it's only working for image – May 11 '16 at 10:43
-
As i can see here http://stackoverflow.com/questions/12164024/android-open-and-save-files-to-from-google-drive-sdk they are providing number of libraries ,you can try it – Amit Ranjan May 11 '16 at 10:48
-
you can check this link https://developers.google.com/drive/android/ – Joker May 11 '16 at 11:06
-
I had seen it but I don't know how can i use it – May 11 '16 at 11:06
-
You can check samples.check this full code https://github.com/googledrive/android-demos/blob/master/app/src/main/java/com/google/android/gms/drive/sample/demo/CreateFileWithCreatorActivity.java – Joker May 11 '16 at 11:17
-
you will also need this code to complete your code use this two files to code https://github.com/googledrive/android-demos/blob/master/app/src/main/java/com/google/android/gms/drive/sample/demo/BaseDemoActivity.java – Joker May 11 '16 at 11:38
-
gudluck komal !! if not done,mail it to me at sr.amitranjan@gmail.com – Amit Ranjan May 11 '16 at 11:48
-
Thanks it works for me!!! – May 11 '16 at 13:37
-
Welcome.Glad it help you. – Joker May 12 '16 at 07:03