Supports c3 build service = YES
Support platform
- Android = YES
- IOS = NO
- Browser = YES
Download addon Document file
Download addon WebRTC
Description plugin Document file
Simple example c3p: Video Recording and Take Capture image
select file, upload, download, will return a response
Response (Success):
Object: A JSON object containing metadata of the successfully.
- uri (String): The content URI (content://) of the saved file.
- traditionalPath (String, optional): The traditional file system path (e.g., /storage/emulated/0/Music/test.mp3)
- name (String): The display name of the file.
- size (Number): The size of the file in bytes.
- sizeReadable (String): The file size in a human-readable format. (e.g., "1.23 MB").
- mimeType (String): The MIME type of the file.
- lastModified (Number): The last modified timestamp of the file in milliseconds.
- isDirectory (Boolean): true if it's a directory, false if it's a file.
- base64: Base64-encoded string from the contents of a stored or selected file, or from an upload/download response.
(provided that permission has been granted)
You can handle, manipulate, image, audio, video, pdf, and other files, whatever the user chooses on their device, to be rendered into HTML elements, or files processed by your own hosting server, or an AI server.
The response from the server can be directly downloaded to the user's device, or just rendered to the HTML element.
The upload, download or response file select will return metadata for use as needed, (provided permission has been granted),
If the user denies permission, the metadata will not be obtained, the process on the android device will fail.
all processes on the user's device must go through the SAF URI path, not the traditional file system path traditional file system path (e.g., /storage/emulated/0/Download/filename.pdf).
For certain categories of apps only
developer.android.com/training/data-storage/manage-all-files
- File managers
- Backup and restore apps
- Anti-virus apps
- Document management apps
- On-device file search
- Disk and file encryption
- Device-to-device data migration
Screenshot of example permissions (Video Recording and Take Capture image)
NOTE sensitive permissions