6/22/2023 0 Comments Android multi tool caseIntent. Its extremely simple to use, requiring only a few lines of code. Intent.addCategory(Intent.CATEGORY_OPENABLE) I created a small open source Android Library Project that streamlines this process, while also providing a built-in file explorer (in case the user does not have one present). Intent intent = new Intent(Intent.ACTION_GET_CONTENT) I believe the best you can do is look for "openable" content in an Intent.createChooser() like this: private static final int FILE_SELECT_CODE = 0 If you want the user to be able to choose any file in the system, you will need to include your own file manager, or advise the user to download one. ![]() ![]() It's extremely simple to use, requiring only a few lines of code. I created a small open source Android Library Project that streamlines this process, while also providing a built-in file explorer (in case the user does not have one present).
0 Comments
Leave a Reply. |