Send a file to Google Drive

361 views
Skip to first unread message

Mauritz Zondagh

unread,
Dec 17, 2016, 3:27:05 PM12/17/16
to DroidScript
Hi I am running the sample code to send a image to Google Drive. No file appears in Drive.
How does Droidscript know which Google account?
Can i set the folder?

Thanks

Mauritz Zondagh

unread,
Dec 17, 2016, 4:32:50 PM12/17/16
to DroidScript
If i sendfile a file and select Google Drive, all is working fine. (Sample Send files, first button)
The SendIntend does not seem to work e.g. Sample Send Files, Send Image to Google Drive (2 nd Button and third button)

But i can live with Sendfile
Thanks

Fatih Elitas

unread,
Dec 21, 2016, 2:37:43 AM12/21/16
to DroidScript
Yeah . I have the same problem too.

Rico

unread,
May 18, 2019, 2:17:40 PM5/18/19
to DroidScript
Bug? In Samples, Send Files script 
app.SendFile( file, "sftest.txt", "Send File" );
do not change the version to repeated file upload.

Steve Garman

unread,
May 20, 2019, 12:59:30 PM5/20/19
to DroidScript
@Rico

Can you tell us what you are expecting to happen and what happens instead plese

Message has been deleted

aaahomein...@gmail.com

unread,
Mar 20, 2021, 12:42:55 PM3/20/21
to DroidScript
The 2nd and 3rd buttons fail. The debugger gives the following errors:
  • App.SendIntent( com.google.android.apps.docs, com.google.android.apps.docs.sha..., android.intent.action.SEND, android.intent.category.DEFAULT, null, text/plain, [{"name":"android.intent.extra.T..., , null )
  • WARNING: App.SendIntent() failed! (Unable to find explicit activity class {com.google.android.apps.docs/com.google.android.apps.docs.shareitem.UploadSharedItemActivity}; have you declared this activity in your AndroidManifest.xml?)
  • Img.Save/sdcard/MyDroid.jpg, )
  • App.SendIntent( com.google.android.apps.docs, com.google.android.apps.docs.sha..., android.intent.action.SEND, android.intent.category.DEFAULT, null, multipart/*, [{"name":"android.intent.extra.S..., , null )
  • WARNING: App.SendIntent() failed! (Unable to find explicit activity class {com.google.android.apps.docs/com.google.android.apps.docs.shareitem.UploadSharedItemActivity}; have you declared this activity in your AndroidManifest.xml?)

Reply all
Reply to author
Forward
0 new messages