Sharing
Definition
Sharing is a non-visible component that enables sharing files and/or messages between your app and other apps installed on a device. The component will display a list of the installed apps that can handle the information provided, and will allow the user to choose one to share the content with, for instance a mail app, a social network app, a texting app, and so on.
The file path can be taken directly from other components such as the Camera
or the ImagePicker
, but can also be specified directly to read from storage. Be aware that different devices treat storage differently, so a few things to try if, for instance, you have a file called arrow.gif
in the folder Appinventor/assets
, would be:
"file:///sdcard/Appinventor/assets/arrow.gif"
; or"/storage/Appinventor/assets/arrow.gif"
Properties
None