This tutorial explains the steps required to implement a file picker that other applications can use to select files or resources.
View attachment 47350 View attachment 47351 View attachment 47352
Starting from Android 7 - Nougat,it is not possible to share a file directly (file:// uri). It will result with a FileUriExposedException. This is relevant even if you don't set the targetSdkVersion to 24.
The solution is to use FileProvider from Android support library.
The...
Sharing files from your app with File Provider
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2bU12eR
via IFTTT
lundi 29 août 2016
Sharing files from your app with File Provider
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire