B4J Library [B4X] BalConverter - Convert the layouts files to JSON (and vice versa) - Erel    Sep 11, 2025   (30 reactions)   tags: Eshe, files, convert, bal, layouts the designer layout files and JSON format. This allows you to edit the layout with a text editor. Note that the format is not so simple as the layout files were not designed to be edited this way. The converter app is simple. You choose a folder and it will convert all layout files from one format to another. The original files are not deleted. It filters the files based on the extension (bal or bal.json... this section. The LayoutHeader element holds other information about the layout file. Note that all... B4A Tutorial [B4X] TextEditor - Save and load external files - Erel    Sep 10, 2023   (38 reactions) This is a B4i and B4A example, which demonstrates various external files related tasks. 116714.... B4A Load external files, including online files, using ContentChooser. Save to an external target...-list-of-other-related-methods.129897/#content Allow other apps to view text files using this app... external files, including online files, using DocumentPickerViewController: https://www.b4x.com...-with-activityviewcontroller.73159/#content This also allows saving the text with the Files app. Allow... B4A Code Snippet [B4X] Bytes To File - Erel    May 24, 2020   (19 reactions)   tags: Image, Share Images, Bytes, B4X, B4X Bytes To File, , bitmap to byte and revert This code is no longer needed. Use File.WriteBytes / ReadBytes.
Write an array of bytes to a file and read a file into an array of bytes.
Sub BytesToFile (Dir As String, FileName As String, Data() As Byte)
Dim out As OutputStream = File.OpenOutput(Dir, FileName, False)
out.WriteBytes(Data, 0, Data.Length)
out.Close
End Sub
Sub FileToBytes (Dir As String, FileName As String) As Byte... B4i Tutorial Managing multiple certificates / provision files - Erel    Feb 7, 2024   (3 reactions) provisioning profile Installing B4i-Bridge and debugging first app 5 different files are required... file (ios_*.cer) - Provision file (.mobileprovision) The first three files are created by the IDE when you select Tools - Private sign key - Create new key. The certificate file is downloaded from Apple developer console based on the certSigningRequest.csr file. The provision file is also downloaded from Apple developer console and it internally references the certificate file. The provision... B4i Tutorial Open external files with your app - Erel    Dec 19, 2022   (2 reactions) that deal with files show a standard file handling dialog. One of the options in this dialog is to open the file with another app. This tutorial explains how you can add your app to this list and then open the file. For example you can use this to open CSV files received by mail in your app or from Dropbox app (useful for debugging this). The first step is to register the file types...: <string>CSV File</string> #PlistExtra: <key>LSHandlerRank<... B4i Code Snippet Make your app files accessible with Files app - Erel    Apr 27, 2023   (5 reactions) #PlistExtra: <key>LSSupportsOpeningDocumentsInPlace</key><true/><key>UIFileSharingEnabled</key><true/> All files in File.DirDocuments / XUI.DefaultFolder will be accessible from the Files app (and iTunes as well).... B4J Tutorial [B4X] Modules, Files, Groups and Folders - Erel    Mar 3, 2019   (10 reactions)   tags: ide folder The latest IDE update adds support for grouping files and modules. Groups https://www.b4x.com... files or modules by dragging them to the new group. Groups can be nested. The most important point is that the files or module files are not really moved. Groups are not folders. They are just used... you add existing modules, by clicking on the menu or by dropping the module files on the modules tree... modules are monitored for external changes and are updated automatically when the file changes... B4i Tutorial Files and Folders - Erel    Feb 11, 2019   (4 reactions) such as File.DirRootExternal in Android. iOS file system is case sensitive. There are several standard folders. Each folder is intended for different usage. File.DirAssets - This is a read-only folder. The files added to the Files tab in the IDE will be located here. File.DirTmp - The location of temporary files. These files will not be backuped by iTunes. The OS can clean this folder from time to time (you are also expected to delete unused files from this folder). File.DirDocuments... B4J Code Snippet [B4X] Unzip single entry from a zip file / ZipToMap / MapToZip - Erel    May 15, 2025   (9 reactions) result() As Byte Dim ZipFile As JavaObject ZipFile.InitializeNewInstance("java.util.zip.ZipFile", Array(ZipPath)) Dim ZipEntry As JavaObject = ZipFile.RunMethod("getEntry....InputStreamToBytes(ZipFile.RunMethod("getInputStream", Array(ZipEntry))) ZipFile.RunMethod... file from subfolder: Dim b() As Byte = UnzipEntry("C:\Users\H\Documents\B4X\XUI Views.b4xlib... B4A Library [B4X] PocketBase - Open Source backend in 1 file - Alexander Stolte    Mar 17, 2025   (19 reactions) functionality like crud, auth, files upload, auto TLS, etc. are handled out of the box, allowing you to... on the same network when hosted locally Authentification Database Storage Deleting files Admin Backups....Parameter_Fields("Task_Name,Task_CompletedAt")</code> Parameter_Files (Files...,Task_CompletedAt")</code> Parameter_Files (Files As List) Update (ColumnValue As Map... ConvertFile2Binary (Dir As String, FileName As String) As Byte() CreateMultipartFileData (Dir As String... Page: 1   2   3   4   5   6   7   |