Object documentation: FileProvider B4A Library [class] FileProvider - share files - Erel    Aug 16, 2021   (44 reactions)   tags: B4A Class FileProvider, share email file, share, File provider, email, WP SHARE Edit: FileProvider is included as an internal library now.
After investigating several issues with the current FileProvider code that you can find in the forum, I decided to make some improvements... with other applications. You need to use FileProvider.
The FileProvider class should work on all Android versions (4+).
Instructions:
1. Add a reference to FileProvider library.
2. Add to... B4A Code Snippet VideoRecordApp with FileProvider - Erel    Jan 7, 2020   (10 reactions) -libraries.59340/#post-635852 Based on FileProvider example and class: Sharing files from your app with File Provider video.Initialize("video") 'video is a process global VideoRecordApp variable. Dim folder As String = Starter.Provider.SharedFolder Dim FileName As String = "1.mp4" video.Record3(folder, FileName, -1, Starter.Provider.GetFileUri(FileName)) Wait For... As Intent in.Initialize(in.ACTION_VIEW, "") Starter.Provider.SetFileUriAsIntentData... B4A Question FileProvider is forcing recipient apps to become default apps - JackKirk    Feb 17, 2021 I am on Android 5.0
I launch the stock standard FileProvider example from https://www.b4x.com... the FileProvider example again and then tap
This time I do not get the "Open with" pop up menu... B4A Question What needs to be adjusted in the FileProvider manifest? - Sandman    Mar 25, 2024 the FileProvider snippet.
But looking at the manifest from FileProvider, I cannot for the life of me see what....b4x.com/android/forum/threads/class-fileprovider-share-files.97865/... Wish Remove FileProvider log message - Sandman    Mar 24, 2024   (2 reactions) Remove log message from FileProvider: Log($"Using FileProvider? ${UseFileProvider}"$)... B4A Class [Class] Send E-Mail with FileproviderURI - Deleted member 103    Feb 3, 2022   (6 reactions) Deleted... B4A Question FileProvider and Opening PDF Application List - tsteward    May 7, 2019 My App downloads a PDF then using FileProvider it uses share to open the PDF. But the list...="android.support.v4.content.FileProvider" android:authorities="$PACKAGE$.provider... <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths"/> </provider> ) CreateResource(xml, provider_paths, <files....Provider.SharedFolder, fname, False) File.Copy2(job1.GetInputStream, out... B4A Question ActivitySetResult + FileProvider + Bitmap = Failure - drgottjr    Feb 19, 2023 the exchange and the exception thrown are attached.
It only occurs when using FileProvider, which... FileProvider in combination with ActivitySetResult fails with the same error (as shown in... B4A Question How to get FileProvider working without entire RuntimePermission lib or entire com.android.support:support-v4 ? - JohnC    Jan 4, 2023 my app to require permission to the user's storage/files, so I am using FileProvider.
The FileProvider class uses the function "GetSafeDirDefaultExternal" to get a directory... B4A Question [Solved] [Class] Send E-Mail with FileproviderURI - fchirico    May 30, 2020 ", CreateFileProviderUri(shared, GlobFileName)) End If StartActivity (EmailIntent) End...,File.DirInternal, cEncab, "GA.MA Tools - Pedido generado: " & cNumPed & "...) 'EmailIntent.SetType("text/plain") 'it is not related to the file itself. EmailIntent.SetType("text/html") 'it is not related to the file itself. EmailIntent.Flags = 1... Page: 1   2   3   4   5   |