Addon ID

  • emi_indo_documentfile

Info

Statistics

  • Download count27 total downloads
  • Latest download count 10 downloads of latest version
  • Average download count1 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

document

  • Actions

    Select file (mimeType: {0}, is base64: {1}, tag: {2})

    Select file

    Select target path (tag: {0})

    Select target path

    Convert path SAF to traditional (path: {0}, tag: {1})

    Convert path SAF to traditional path

    File to base64 (path: {0}, tag: {1})

    (image/txt: OK), (Video/Audio/PDF: max 20mb OK), if (file 20mb+) apk crash

on success tag

tag

on error (combo)

  • Conditions

    On error (action: {0})

    On error combo

select-file

  • Expressions

    SelectName

    file name

    MimeType

    The display name of the file.

    Base64

    String base64

    UriFilesSaf

    Uri files Storage Access Framework (SAF), The content URI (content://)

    UriFilesTraditional

    Uri files traditional: /storage/emulated/0/subFolder/IMG-123.png

    SelectSize

    The size of the file in bytes.

    SizeReadable

    Size readable B, KB, MB, GB, TB string example: 5KB | 10MB | 1TB

    Mb

    (Integer) If KB is less than 1 MB, round up to 1, example: if 1.5mb = 1, if 18.4mb = 18

    FileExtension

    contains strings such as jpg, png, pdf, and so on.

select-path

  • Expressions

    UriTargetTraditional

    Uri target traditional: /storage/emulated/0/subFolder

    UriTargetSaf

    Uri target Storage Access Framework (SAF)

permissions

  • Actions

    Check and request permissions, (camera: {0}, media audio: {1}, media video: {2}, images: {3}, read storage {4}, write storage {5}, record audio: {6}, modify audio setting: {7}, all: {8}, tag: {9})

    Check and request permissions

    Register web RTC

    Register web RTC (optional)

    Open app settings

    Once the user has set the permissions, they can only be changed manually from the app settings.

  • Expressions

    IsReadMediaAudio

    Is read media audio

    IsReadMediaVideo

    Is read media video

    IsReadMediaImages

    Is read media images

    IsReadExternalStorage

    Is read external storage

    IsWriteExternalStorage

    Is write external storage

    IsRecordAudio

    Is record audio

    IsModifyAudioSetting

    Is modify audio setting

    IsManageExternalStorage

    Is manage external storage

file

  • Expressions

    ConvertTraditionalPath

    Convert traditional path

error

download or upload

  • Actions

    Download blob (path: {0}, base64: {1}, name: {2}, is base64 {3}, tag: {4})

    Download blob, response base64: Image, Audio, Video, txt, PDF or a response from the server, or something else.

    Download file from (url : {0}, is base64: {1}, path: {2}, name: {3}, tag: {4})

    Download file from url

  • Conditions

    On progress (type: {0}, action tag: {1})

    must be the same as the action tag

download upload

  • Expressions

    NameDu

    The display name of the file.

    MimeTypeDu

    The MIME type of the file.

    Base64Du

    Base64-encoded string from the contents file, or from an upload/download response.

    UriFilesSafDu

    uri (String): The content URI (content://)

    UriTraditionalPathDu

    The traditional file system path (e.g., /storage/emulated/0/Music/test.mp3)

    SizeDu

    The size of the file in bytes.

    SizeReadableDu

    The file size in a human-readable format. (e.g., '1.23 MB').

    MbDu

    (Integer) If KB is less than 1 MB, round up to 1, example: if 1.5mb = 1, if 18.4mb = 18

    StatusProgress

    Status progress download | upload

    DownloadSaveFilesToSaf

    Download success save files to SAF

date

html

  • Actions

    Base64 src element id: {0}, {1}, {2}, {3}

    Base64 src html element id