Google Drive file upload and download

26 views
Skip to first unread message

Mauritz Zondagh

unread,
Apr 5, 2026, 10:59:15 AM (yesterday) Apr 5
to DroidScript
Hi, I need some help with loading and saving a .txt file to Google Drive using DroidScript. It’s been a while since I last used DroidScript, so my skills are probably a bit rusty.
I have a data file that I’d like my app to automatically open when it starts, and then save again when the app closes. This would help me avoid having to implement a separate backup scheme.
Is it still possible for DroidScript to access and open a .txt file directly from Google Drive? I’ve only found a sample that sends an intent for saving to Google Drive, but I can’t seem to find any example for loading a file.
Could someone please provide an example or point me in the right direction?
Thanks!

Alan Hendry

unread,
Apr 5, 2026, 11:33:28 AM (yesterday) Apr 5
to DroidScript
HI,
DS 2.51b_p2(16-Mar-2022)
Updated app.ChooseFile() to support GoogleDrive,OneDrive and DropBox
Or Google Drive (REST) API
Or look for an npm package
Regards, ah

Reply all
Reply to author
Forward
0 new messages