File/Folder Browser like inbuilt

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
yogi108
Posts: 95
Joined: 09 Nov 2016 08:00
Contact:

File/Folder Browser like inbuilt

Post by yogi108 » 26 Mar 2020 16:55

Hi, there
Just wonder if there is a simple selection of files/folders as the inbuilt browser in some actions.
Interacting by tapping a folder, going one level lower, tapping .. To lift up one level and select it - without leaving the action.
I don't like to build a files/folder browser from scratch - even I could. (ls command etc. )
regards
Fritz
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga

anuraag
Posts: 364
Joined: 24 Jan 2015 02:06

Re: File/Folder Browser like inbuilt

Post by anuraag » 26 Mar 2020 17:34

Here is an example flow.
Attachments
flow_Pick_file_folder_20200326_230319.xml
(11.99 KiB) Downloaded 8 times

User avatar
yogi108
Posts: 95
Joined: 09 Nov 2016 08:00
Contact:

Re: File/Folder Browser like inbuilt

Post by yogi108 » 26 Mar 2020 19:12

Hi anuraag,

Cool :D

Thanks a lot, I will use this for the actual flow.
If finished I'll drop it under the flows for sharing.

Regards,
Fritz
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga

User avatar
yogi108
Posts: 95
Joined: 09 Nov 2016 08:00
Contact:

Re: File/Folder Browser like inbuilt

Post by yogi108 » 27 Mar 2020 07:29

Hi,
just to mention that is a good idea to have an expression action with

Code: Select all

operation == "ok" 
after the activity, which gets the file /folder from

Code: Select all

android.intent.action.OPEN_DOCUMENT_TREE
because if the user does not select a file/folder you get an error in the next action.

Anyway, works fine for me,
Regards
Fritz
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga

anuraag
Posts: 364
Joined: 24 Jan 2015 02:06

Re: File/Folder Browser like inbuilt

Post by anuraag » 27 Mar 2020 09:17

Yes. It's required. But as mentioned it's an example flow. I just quickly shared flow as i have already using this.

User avatar
yogi108
Posts: 95
Joined: 09 Nov 2016 08:00
Contact:

Re: File/Folder Browser like inbuilt

Post by yogi108 » 27 Mar 2020 09:30

Hi,
my last post was meant especially for those who are like me no professionals :D

Thanks for helping me out,
Regards
Fritz
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga

Post Reply