How to read Text file from Storage

Hello Dear Devloper i Am tring to read file from storage and I am unable Do that i am tring to do that from one month please help in that

Block Images(if Any)
blocks - 2022-08-03T192412.892


AIA OR APK(if Any)
Text_reader.aia (124.3 KB)

Add file:// before the path of selected file.

For example

file://storage/emulated/0/DCIM/

  1. The File component uses / needs a relative path.
  2. You cannot read a text file (non-media file) on Android 11+ that is not created by the app itself without using SAF.

For more details see here:

1 Like

These blocks should work on Android < 11:

1 Like