How To Upload APK?

I need help for trying to find a way, to find a way, to get the path for an app selected. So they click a button and they are taken to the File Chooser, however they can only upload APKs, when they choose it I can get the path of it using the activity start, however, I tried everything and it’s not working on Android O, even Taifuns way.

1 Like

Fixed! @Peter, close… Thank You!

1 Like

Maybe show how you did it.

Thanks to @Daaniiieel, our fixer (If needed) and translator:
Action: android.intent.action.GET_CONTENT
Data TYPE: application/apk