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.... It is recommended to backup your layout files before working with this tool. Updates v2.30... 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... B4A Library Updates to internal libraries - Erel    Aug 20, 2025   (16 reactions)   tags: CoreLibs Updates to internal B4A libraries will be posted here. Make sure to check the library version before updating.
These libraries should be copied to the internal libraries folder (Program Files\Anywhere Software\B4A\Libraries).... B4J Tutorial Integrated B4JPackager11 - The simple way to distribute standalone UI apps - Erel    Feb 26, 2026   (50 reactions) together with the 4 folders. The run_debug.bat batch file is useful to test the program and see the logs... to build a single file installer. The integrated packager creates a Windows package. You can however use the external tool with the generated json file (in the project folder) to create Linux and... #PackagerProperty attribute. For example to set the icon file, assuming that the ico file is in the Files tab... with the new After Packager step to copy files after the package is built. The default target folder... B4A Library [class] FileProvider - share files - Erel    Aug 16, 2021   (47 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... Italian caricare un file in uno stream - Spinter (first post)    Jul 8, 2014 Sei il mister del punto g e non sai lo stream? hahahah http://www.b4x.com/android/forum/pages/results/?query=file+to+streem&page=1&prefix=0... B4A Tutorial [B4X] TextEditor - Save and load external files - Erel    Sep 10, 2023   (38 reactions) . 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... other apps to view text files using this app: https://www.b4x.com/android/forum/threads/open-external...This is a B4i and B4A example, which demonstrates various external files related tasks. 116714... permission is needed. The minimum version was set to 7 (API 24), though it will probably work in older... B4A Code Snippet Get the path to media files returned from ContentChooser - Erel    Jul 24, 2022   (9 reactions)   tags: Adjuntar un File It is a mistake to try to get a file path from the returned resource. It will not work in most cases, and even if you will be able to get the path, you will not be able to access it. You can use File... then you can use File.OpenInput to open an input stream. You can also use it together with File.Copy2 to copy the media to a new location. With the following code you can find the actual file path (if... 'If the user used a file manager to choose the image Dim Cursor1 As Cursor Dim Uri1 As Uri... B4i Library [tool] OTA Deployer - Easily distribute your app to beta testers - Erel    Jun 11, 2025   (20 reactions)   tags: OTA Deployer can install your app over the air by clicking on a link. In order to distribute your app you need to follow these steps: 1. Add the beta tester device UDID to the provision file and download the updated file. 2. Compile your app in release mode, using the development certificate. 3. Download the archive with Tools - Build Server - Download Last Built. 4. Open archive.zip and extract the ipa file. 5. Run OTA Deployer (double click on the jar file), fill the fields and upload the ipa file to the server... B4J Tutorial [Server] Upload files from your B4A app to your B4J server over the internet - Erel    Jan 28, 2014   (33 reactions)   tags: file, transfer, myapp, B4a This example shows how to make your B4J server application accessible over the internet. The implemented server is a simple file server that allows you to upload files from your B4A application to the server over the internet. The following steps are required in order to make your server... treat the data as a text message or as a file that needs to be saved. One important point is that we... send the file or text message. 22299 In order to run it you need to update the link variable based... Page: 1   2   3   4   5   6   7   |