Skip to content

An extension to download, upload, edit, modify and delete files from your google drive.

License

Notifications You must be signed in to change notification settings

jewelshkjony/GoogleDrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 

Repository files navigation

Google Drive Extension

An extension to download, upload, edit, modify and delete files from your google drive.
Support all Android version. (Tested with Android 10, 11, 12, 13, 14)


image

🧾 Extension Properties

You need to set folder id from Block Section or from Designer Section.


⚠️ Requirements Share your folder access with anyone on internet. If you want to upload or write files from extension then you need to give editor access. Otherwise you can give viewer access.

image

📂 Upload File

Using this block you can upload any file from storage.

image

fileType - Set specific file type to pick file from storage.

image

image

fileId - It's return the id of uploaded file.
file Name - It's return the name of uploaded file.
fileUrl - It's return the url of uploaded file.
file Size - It's return the size of uploaded file.

📂 Upload Multiple Files

Using this block you can upload multiple files in single request.

image

fileType - Set specific file type to pick file from storage.

image

image

fileIds - It's return the ids of uploaded files as list.
fileNames - It's return the names of uploaded files as list.
file Sizes - It's return the sizes of uploaded files as list.
fileUrls - It's return the urls of uploaded files as list.

✖️ File Picker Canceled

It's triggered when user click on back press to cancel picking file.

image

function Name - It's return the name of function.

📸 Capture Photo To Upload

Using this blocks you can take photo using phone camera to upload it into Drive folder. Also you can compress photo before uploading.

image

quality - Enter quality amount as integer from 0 to 100.

image

fileId - It’s return the id of uploaded file.
file Name - It’s return the name of uploaded file.
fileUrl - It’s return the url of uploaded file.
file Size - It’s return the size of uploaded file.

✖️ Photo Capture Canceled

It’s rises when user cancel photo capturing or click on back press.

image

function Name - It’s return the name of function.

📽️ Record Video To Upload

Using this blocks you can record video using phone camera to upload it into Drive folder.

image

quality - Enter quality amount as integer from 0 or 1.
maxDuration - Enter max duration seconds as integer number.

image

fileId - It’s return the id of uploaded file.
file Name - It’s return the name of uploaded file.
fileUrl - It’s return the url of uploaded file.
file Size - It’s return the size of uploaded file.

✖️ Video Record Canceled

It’s rises when user cancel recording video or click on back press.

image

🗃️ Upload From Asset

Using this blocks you can upload any file from your asset folder.

image

file Name - Enter file name from asset folder.

image

fileId - It’s return the id of uploaded file.
file Name - It’s return the name of uploaded file.
fileUrl - It’s return the url of uploaded file.
file Size - It’s return the size of uploaded file.

🔗 Upload File By Url

Using this block you can upload file from internet by using file url.

image

fileUrl - Enter file url to upload it into drive folder.

image

fileId - It's return the id of uploaded file.
file Name - It's return the name of uploaded file.
fileUrl - It's return the url of uploaded file.
file Size - It's return the size of uploaded file.

🔗 Upload Multiple Files By Url

Using this block you can upload multiple files from internet in single request.

image

fileUrls - Enter file urls as list.

image

fileIds - It's return the ids of uploaded files as list.
fileNames - It's return the names of uploaded files as list.
file Sizes - It's return the sizes of uploaded files as list.
fileUrls - It's return the urls of uploaded files as list.

🔁 Update File

Using this block you can modify a file which already uploaded into your drive.

image

fileId - Enter that file id which file you want to update.
fileType - Set specific file type to pick file from storage.

image

image

fileId - It's return the updated file id.

⬇️ Get Files

Using this block you can get all files from your folder.

image

image

fileNames - It's return the names of files as list.
fileSizes - It's return the sizes of files in byte formats as list.
fileUrls - It's return the download links of files as list.
lastUpdateDates - It's return the last update dates of files as list.
fileIds - It's return the ids of files as list.

✂️ Delete File

You can delete your uploaded file using file Id.

image

fileId - Enter file id.

image

fileId - It's return the id of deleted file.
isDeleted - It's return bolean result of deletion action.

✍️ Rename File

You can rename your file using file Id.

image

fileId - Enter file id.
new Name - Enter new name.

image

fileId - It's return the file id.
file Name - It's return the file name.

🔗 GetDirectDownloadLink

Using this you can get direct download link of any file using file Id.

image

fileId - Enter file id.

📁 Create Folder

Using this block you can create new folder in any root folder using root folder id.

image

rootFolderId - Enter root folder id.
newFolderName - Enter new folder name.

image

newFolderId - It's return the id of created folder.
newFolderName - It's return the created folder name.
rootFolderId - It's return the root folder id to handle user's activity.

✂️ Delete Folder

Using this block you can delete any folder using it's id.

image

folderId - Enter folder id.

image

folderId - It's return the id of deleted folder.
isDeleted - It's return boolean.

⬇️ Get Folders

Using this block you can get folders from your drive root folder.

image

rootFolderId - Enter root folder id.

image

rootFolderId> - It's return the id of root folder.
folderIds - It's return the list of folders ids.
folderNames - It's return the list of folders names.
folderSizes - It's return the list of folders sizes.

✍️ Rename Folder

Using this block you can rename your folder name.

image

folderId - Enter folder id.
new Name - Enter new name.

image

folderId - It's return the id of folder.
folderName - It's return the new name of folder.

🗃️ Move File

Using this block you can move file from one folder to another folder.

image

folderId - Enter folder id where you want to move your file.
fileId - Enter file id.

image

folderId - It's return the id of folder.
fileId - It's return the id of file.

📁 Move Folder

Using this block you can move your folder to another folder.

image

rootFolderId - Enter root folder id.
childFolderId - Enter child folder id.

image

rootFolderId - It's return the id of root folder.
childFolderId - It's return the id of child folder.

🔐 Encode & Decode

Using this block you can protect your folder ids. Set level (1-100) and password length must be 5 or more.

❌ Failed

It rises if got any error. Check function name to understand that error is from where and read error message to understand the reason.

image

function Name - It's return the function name which function got the error.
error Message - It's return the error message.

📝 Release Notes ↷

  • 8.1.0: Added UploadFromAsset function. Now you can upload any file from your asset folder.
  • 8.0.0: Added RecordVideoToUpload function. Now you can record video using camera to upload recorded video into Drive folder. Also you can set video quality to record video before upload. (I'll charge small amount to receive this update for paid users.)
  • 7.0.0: Added CapturePhotoToUpload function. Now you can take photo using camera to upload taken image into Drive folder. Also you can compress image size before upload. (I'll charge small amount to receive this update for paid users.)
  • 6.0.0: Added UploadMultipleFiles function. Now you can upload multiple files in single request.
    Added UploadFileByUrl function. Now you can upload file into drive from internet.
    Added UploadMultipleFilesByUrl function. Now you can upload multiple files from internet in a single request.
    Added UpdateFile function. Now you can update that file which already exist into your drive.
  • 5.9.1: Update for Support Android 11+ devices.

    🗒️Extension specifications:

    com.jewel.googledrive.aix (98.9 KB)
    ⚙️ Version: 8.1.0
    💰 Price: $15 USD (Standard Edition) - You'll not get next updates are free. You've to pay again.
    💰 Price: $25 USD (Premium Edition) - Available to get futures updates for free.
    💰 Price: $35 USD (Custom Edition) - More secure and more faster. Also you can order me to customize this extension for your need.
    ⚖️ License: Terms & Conditions
    🌎 Last amendment: 16 March 2023
    🤝 Supported builder: Kodular, Niotron, AppZard, AndroidBuilder, App Inventor and it's other distributions.

    📫 How to reach me -

    Telegram | WhatsApp | Facebook | Messenger | Youtube