Hello !
I need to PERMANENTLY intercept action=android.intent.action.OPEN_DOCUMENT and replace it with action=android.intent.action.GET_CONTENT
If you seen these two activities before, you are not crazy: they are both handled by Android's default Files app (package=com.android.documentsui), but with different result (the GET_CONTENT version has many more features)
I successfully launched the modified activity, but it is not permanent. I need to make it permanent.
Problem is:
The android.intent.action.OPEN_DOCUMENT gives us no opportunity to Open As and select App Manager's Interceptor. It is always set to the Files app, and has no way to clear.
And even if it did present an Open As, I'd always have to fill in the dialog with the information
Is there another way ?
Hello !
I need to PERMANENTLY intercept action=android.intent.action.OPEN_DOCUMENT and replace it with action=android.intent.action.GET_CONTENT
If you seen these two activities before, you are not crazy: they are both handled by Android's default Files app (package=com.android.documentsui), but with different result (the GET_CONTENT version has many more features)
I successfully launched the modified activity, but it is not permanent. I need to make it permanent.
Problem is:
The android.intent.action.OPEN_DOCUMENT gives us no opportunity to Open As and select App Manager's Interceptor. It is always set to the Files app, and has no way to clear.
And even if it did present an Open As, I'd always have to fill in the dialog with the information
Is there another way ?