Hi everyone ,
Today I found another way to upload images to google drive.
I have tried uploading images to google drive using
Pictodrive Extension from @help_cttricks but failed (bad format image), then using google script and KIO4_Base64 extension from @juananton1991 also failed (this extension requires /storage/emulated/0/AppInventor/assets while in kodular is /storage/emulated/0/Makeroid/assets, maybe this extension will be run on kodular if we manually create the assets folder for AppInventor in storage and put the images to be uploaded into it).
Finally I found another way from
@TimAi2 (here) by changing the script and using the filetools extension & filey extension by @vknow360 (Sunny Gupta) and it worked.
To upload an image you only need two extensions:
Filey: Encode and Decode Files
Filey is a simple extension which offers you feature to convert file to string and vice-versa asynchronously so it does not affects the main thread or UI.
Note: It does not works with asset files.
Latest Version: 1
Released: 2020-08-19T18:30:00Z (UTC)
Last Updated: 2020-08-19T18:30:00Z (UTC)
Permissions: android.permission.WRITE_EXTERNAL_STORAGE , android.permission.READ_EXTERNAL_STORAGE
Event raised after converting string to f…
FileTools: Some tools to work with files
Probably you have read in title , the name of extension is FileTools and features are similar to its name.
It provides tools to work with Files and Folders.
Latest Version: 9
Last Updated: 2020-07-06T11:26:00Z (UTC)
An image of blocks…
It has total 29 method blocks and 5 event blocks
A brief documentation for FileTools:-
Returns path to application specific directo…
and put the ulr scrip that I created into the web component (web go to url) in your project, that’s all.
And the web url script is (dont click, just copy paste this url):
I don’t know how to explain it in more detail, maybe someone can explain by looking at the aia file and trying the apk file, or someone will create an free extension for it. Thanks…
Test upload aia - download from drive
Test upload apk - download from drive
I unlist this until this is fixed. And besides that all the blocks should be explained inside the aia with images.
@Sumit1334 are your folder shared?
@Peter i will give explain more.