B4A Library [class] FileProvider - share files - Erel    Aug 16, 2021   (46 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 and implement it in a class. Starting from Android 7 (API 24) you cannot directly share file uris 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... B4J Question [RESOLVED] File.DirApp on package File MAC - MarcoRome (first post)    Dec 14, 2023 More information. I did some tests. if you use the following code Dim tempDir As String tempDir = File.Combine(File.DirApp, "TempFolder") Log(File.DirApp) ' Crea la directory di appoggio se non esiste già If File.Exists(tempDir, "") = False Then File.MakeDir(tempDir, "") fx.Msgbox(MainForm, tempDir,"") Else... you have the following result (correct and folder is created ) 148684 using package file... B4A Question (rp.PERMISSION_WRITE_EXTERNAL_STORAGE) error in android 10 - Erel (first post)    Dec 15, 2019 Add File.MakeDir(File.DirRootExternal, "systemfirst")... B4i Code Snippet Make your app files accessible with Files app - mcqueccu (first post)    Aug 17, 2021 No need to create the folder. I haven't tested whether the folder appears in Files app when it is empty. The Folder appeared in the Files App with the application label as the Name. I created new folder with the Name B4X in directory documents like below File.MakeDir(File.DirDocuments,"B4X") And I can see it in application label/B4X Thank you Erel for this... Italian Esistenza di una cartella, se no crearla - 3394509365    Feb 29, 2020 No saprei come fare a vedere se una cartella in un determinato percorso existe oppure no e se non esiste crearla. intanto ho provato questo, ma secondo me crea la cartella ma non la vedo File.MakeDir(File.DirAssets,"NewFolder") File.MakeDir(File.DirInternal,"NewFolder")... B4A Question Help: FLAG_IMMUTABLE or FLAG_MUTABLE - Zeev Goldstein (first post)    Jan 26, 2023 ? will it be blocked by google? and if i may i have another question on another topic - file.makedir on external storage doesn't seems to work File.MakeDir(File.DirRootExternal,"/Zeev") i got... B4A Question File & Directories - luke2012    Feb 3, 2017 Hi all, I need to create a directory within the internal storage (filesystem root). To solve this I'm using: File.MakeDir(File.DirRootExternal, "mydir") But when within the device is present an SD card the "mydir" is created on the SD card root folder instead internal storage root folder. My questions: 1) How to (always) point to the internal filesystem? 2) How to... example: if I put all my data within the path returned by "File.DirDefaultExternal" method... German iOS: Verzeichnis erstellen - so27 (first post)    Mar 29, 2021 Aus dem Stegreif würde ich versuchen ein Verzeichnis im Dokumenten-Ordner zu erstellen. File.MakeDir(File.DirDocuments, "Testordner") Der Ordner "Dokumente" wird über die iCloud synchronisiert.... B4A Question How to code Manifest File to allow mobile folder (not SD Card) storage? - PURPLE FACE    Sep 8, 2024 , but I failed to find the correct resources to edit the Manifest file. Private Sub btn_SAVE_Click Dim const FILENAME As String = "MyTextFile.txt" Dim const FOLDER_NAME As String = "MyFolder" Dim FolderPath As String FolderPath = File.DirRootExternal & FOLDER_NAME Dim textToSave As String textToSave=txtbox_TEXT01.Text If File.Exists(FolderPath, FILENAME) = False Then File.MakeDir(File.DirRootExternal, FOLDER_NAME) End... B4A Question Deleting folders - red30 (first post)    Aug 10, 2018 File.Delete(File.DirInternal&"/ddd","") File.MakeDir(File.DirInternal,"aaa") File.MakeDir(File.DirInternal,"bbb") File.MakeDir(File.DirInternal,"ccc") Dim temp As List = File.ListFiles(File.DirInternal) File.Delete(File.DirInternal&"/aaa","") Dim temp As List = File.ListFiles(File.DirInternal) File.MakeDir(File.DirInternal,"ddd") Dim temp As List = File.ListFiles(File... Page: 1   2   3   4   5   6   7   |