Uploading file to Google Drive


#1

Hi Developers,
This time I am in certain need where i want to give user a capability to select file from the phone SD card and upload them to their respective google drive. File can be image or document. They should have the capability to select folder or create new folder which they can type in the text box.

Has anyone worked on something like this before?


#2

see this solution here
https://groups.google.com/d/msg/mitappinventortest/Q2hbpYz8m3I/9KJIJYRZCgAJ
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


#3

Hi Taifun,
I have followed everything as being said in the post.

  1. Create Folder in my Google Drive (Noted the id from URL)
  2. Create a new Google Script project and published it on web, being me and giving access to everybody.
  3. Provided the web app url in app inventor application
  4. corrected the folder id.

Within application i got notifier, “Upload Successful” but nothing came to my folder.

Is there any other ground work needs to be done, i have see your page as well where you were saying creating console project, client id and credentials? Is that still needed along with this ?


#4

you might want to ask Tim, the author of that solution…
you can find him in the MIT App Inventor forum
https://groups.google.com/forum/#!forum/mitappinventortest
Taifun


#5

Seems like topic is closed in the group so i cannot post replies there and searching the member in the group comes up as power user which also means random persons cannot reach :frowning:


#6

I now reopened that thread for you…
https://groups.google.com/d/msg/mitappinventortest/Q2hbpYz8m3I/9KJIJYRZCgAJ
Taifun


#7

Thanks for opening the thread Taifun. Appreciate


#8

I have tried the image transfer to Google Drive by using the TIM procedure but not succeeded.
I think, that is there some API to be installed to get this working?


#9

you might want to ask Tim, the author of that solution…
you can find him in the MIT App Inventor forum
https://groups.google.com/forum/#!forum/mitappinventortest
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.