About 5,620,000 results
Open links in new tab
  1. Android: How to open a specific folder via Intent and show its …

    public void openFolder() { File file = new File(Environment.getExternalStorageDirectory(), "myFolder"); Log.d("path", file.toString()); Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setDataAndType(Uri.fromFile(file), "*/*"); startActivity(intent); }

  2. Solution to access android/data subfolders in Android 12/13/14 …

    Many file managers implemented a workaround to access android/data subfolders even with scoped storage enforced, like Solid Explorer/MiXplorer/Xplore, etc. But recent updates to the stock "File" app broke this workaround, redirecting you to a …

  3. How to Open a Specific Folder Via Intent in Android?

    Jun 6, 2021 · How to Open a Specific Folder Via Intent in Android? In this article, we are going to open a specific folder from our App. This feature is useful in many cases. Most of the time when we want to upload any file then the app simply opens the file manager.

  4. How to choose a file from a specific folder in Android 13 kotlin

    Dec 6, 2023 · To allow the user to choose a file from a specific folder in Android 13 using Kotlin, you can use the Storage Access Framework (SAF) and specify the initial directory when creating the...

  5. Access documents and other files from shared storage

    Apr 16, 2025 · The ACTION_OPEN_DOCUMENT_TREE intent action, available on Android 5.0 (API level 21) and higher, allows users to select a specific directory, granting your app access to all of the files and sub-directories within that directory.

  6. How to access Android 13 Data and OBB folder & transfer files ... - Reddit

    Nov 9, 2022 · Instead of invoking SAF to ask for access to /Android/data and /Android/obb, file managers can also invoke SAF directly to an app-specific subdirectory under /Android/data and /Android/obb and ask for access to that.

  7. directory - How to select folder in android? - Stack Overflow

    Dec 21, 2011 · You just have to edit how it handle's if (file.isDirectory()). I would recommend declaring a boolean value in your Activity which you change to true if the file is a directory and it is already false. Then if said value is true, then traverse the directory.

  8. Simple Android Directory picker - How? - Stack Overflow

    Jan 12, 2015 · Try to use Intent.ACTION_OPEN_DOCUMENT_TREE. if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP){ Intent i = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE); i.addCategory(Intent.CATEGORY_DEFAULT); startActivityForResult(Intent.createChooser(i, "Choose directory"), 9999); }

  9. Managing files in the "Android/data" folder on Android 11 ... - Reddit

    Aug 19, 2022 · Copying or moving data out of the "Android/data" folder is, thankfully, pretty simple. Simply navigate to the folder as usual, long-press on the content you want to select, then go to the three-dot menu in the upper-right and choose either "Copy to..." or "Move to...".

  10. Android Tutorial => Showing a File Chooser and Reading the Result

    Starting a File Chooser Activity public void showFileChooser() { Intent intent = new Intent(Intent.ACTION_GET_CONTENT); // Update with mime types intent.setType("*/*"); // Update with additional mime types here using a String[].

  11. Some results have been removed
Refresh