In a third-party app, initiate "Choose file" (or similar action)
Third-party app sends an implicit Intent (ACTION_GET_CONTENT)
System displays a DocumentsActivity (KitKat or later) or ResolverActivity (pre-KitKat) with SimpleExplorer presented as an option
Select SimpleExplorer
System starts "Choose a file" Activity in SimpleExplorer
Browse and choose a file in SimpleExplorer (allow multiple selections if EXTRA_ALLOW_MULTIPLE included, api 18 JELLY_BEAN_MR2 and above)
System restarts third-party app Activity with chosen file Uri in Intent
Implementation
Implementing this feature shouldn't impact performance at all, nor should it require any additional permissions, and it should reuse existing components with only minor updates.
@DF1E, if you don't have any objections, I'll start working on this in the next couple of days. If it looks like it will require more significant changes than anticipated, I'll post here.
Desired behavior
Intent
(ACTION_GET_CONTENT
)DocumentsActivity
(KitKat or later) orResolverActivity
(pre-KitKat) with SimpleExplorer presented as an optionActivity
in SimpleExplorerEXTRA_ALLOW_MULTIPLE
included, api 18JELLY_BEAN_MR2
and above)Activity
with chosen fileUri
inIntent
Implementation
Implementing this feature shouldn't impact performance at all, nor should it require any additional permissions, and it should reuse existing components with only minor updates.
@DF1E, if you don't have any objections, I'll start working on this in the next couple of days. If it looks like it will require more significant changes than anticipated, I'll post here.