This extension allows your application to appear in the Open with and Share With menus on Android. There is a current vknow360 extension
but it no longer works on current Android versions.
The extension allows you to open external files with the following MIME types:
text/*
image/*
audio/*
video/*
application/pdf
To do this, your application must be able to receive some or all of these types.
It has a single block: GetReceiver

This will return a string separated by #, which you can easily convert into a list using App Inventor. The first element of the list is the MIME type, and the second element is the content.
If the content is text, you can treat it directly in the application as text (Label, TextView, etc.). If it is any other MIME type, it will return the content URI, which can be read by any application. App Inventor component or other extension (video player, image player, PDF, etc.)
The block must be included in Screen1.Initialize; if GetReceiver returns an empty string, the application will do nothing.
The app won't work in the company; it needs to be compiled.
ExternalOpen.aia (110,5 KB)
es.mariosft.opensharewith.aix (6,2 KB)