B4A Tutorial [B4X] TextEditor - Save and load external files - Erel    Sep 10, 2023   (37 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 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() Return Bit.InputStreamToBytes(File.OpenInput(Dir, FileName)) End Sub Note that you can convert... 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<... B4J Library [B4X] BalConverter - Convert the layouts files to JSON (and vice versa) - Erel    Jan 17, 2019   (26 reactions)   tags: Eshe, files, convert, bal, layouts BalConverter is a B4J app (desktop app) that converts between the designer layout files and JSON... 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). http://www.b4x.com... element holds other information about the layout file. Note that all the views names are stored in... 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... Games [XUI2D] Example Pack - Erel    Oct 2, 2022   (33 reactions)   tags: example games, XUI2D Games . The code modules and files are shared between the projects. See this tutorial for more information....mapeditor.org/ Most of the examples use a tiled json file to define the objects. In the Mario and Tiles... Editor - File - Import and find the objecttypes.json that is included in the zip file. Please start... B4A Tutorial [B4X] Tip - ROBOCOPY error related to shared files folder - Erel    Nov 10, 2020   (7 reactions) ------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows... 10, 2020 8:05:40 AM Source : C:\Users\H\DOWNLO~1\projects\Shared Files\ Dest : C:\Users\H\DOWNLO~1\projects\B4A\Files\ Files : *.* Options : *.* /DCOPY:DA /COPY:DAT /R:1000000 /W...:40 ERROR 2 (0x00000002) Accessing Source Directory C:\Users\H\DOWNLO~1\projects\Shared Files\ The system cannot find the file specified. Fix - Go to the top of B4XMainPage and delete this line... Page: 1   2   3   4   5   6   7   |