Page 1 of 1

Text File read

Posted: 11 Jun 2018 14:16
by Rafi4
Hi
I want to create a flow to read text file using "message dialog"& "start Activity".how can I create?
I am only reading text file which I am created now. But I want to read text files which were previously saved in internal memory or sd card.


http://automagic4android.com/flow.php?i ... 6ef4b6df26

Re: Text File read

Posted: 11 Jun 2018 17:30
by digitalstone
Place action "Init Variable Text File":
At field "File": browse to your desired text file.

Place action "Message Dialog":
At field "Message" type: {file_text}

This should do it.

Re: Text File read

Posted: 12 Jun 2018 12:13
by Rafi4
Hi digitalstone
action "Init Variable Text File" is for one file only. But I want to pick file using start Activity. And then I want to read text file using "message dialog". I think This is process to read. Only i want to know what fields are mandatory in "start Activity" action. Please fill and post.

Re: Text File read

Posted: 12 Jun 2018 13:22
by digitalstone
One result that i've got when making use of the "Example" button is "Pick file" from that list.

At the "Data MIME Type" field, you can further specify what you would like for file-type to be filtered.
Only text files for example: *.txt
Instead of all file types to be shown: *.*