How to pick any file without requesting storage permissions

Steps to Pick a File Using Activity Starter

  1. Add Components
  • Drag and drop a Button (to trigger file selection).
  • Drag and drop a Label (to display the selected file path).
  • Drag and drop an Activity Starter from the Connectivity section.
  1. Configure the Activity Starter Properties
  • Action: android.intent.action.GET_CONTENT
  • Data Type: */* (to allow all file types)
  1. Blocks Configuration
  • When the button is clicked, set the Activity Starter properties and start the activity.
  • When the activity finishes, retrieve the selected file’s URI and display it.

Blocks should be like this :

Extension of file utilities
com.mrkoder.file.util.dev.fileutilities.aix (40.3 KB)

5 Likes