B4A Code Snippet Detecting zip archive corruption - mazezone    Dec 17, 2023   (8 reactions) Maybe someone could use it. I will be glad if this algorithm is added to the internal Archiver library. Sub ZipIsValid(PathDir As String, NameFile As String) As Boolean Dim MyJO As JavaObject = Me Return MyJO.RunMethod("isValid", Array(File.Combine(PathDir, NameFile))) End Sub #If JAVA import java.util.zip.ZipFile; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import java.io.FileInputStream; import java.io.IOException; import java.util.zip.ZipException;... Games [XUI2D] Example Pack - Erel    Oct 2, 2022   (33 reactions)   tags: example games, XUI2D Games .131279/ Examples: - Hello world (based on Tiled) - Clumsy bird - Mario - Space Invaders - Walking... following a path - Angry birds example - Space Shooter - Tetris - X2 Source Code Video tutorial explaining the steps required for running the examples and configuring Tiled: Note that the video... packed as a single b4x lib. 300267245 The examples pack is a single zip with all the XUI2D examples...://github.com/leerob/Space_Invaders and https://github.com/ellisonleao/clumsy-bird. The examples... B4J Code Snippet jShell and 7-Zip to list contents and decompress gz (gzip) archive files - raphael75    May 10, 2020   (5 reactions) exit codes. B4J code to see the list of compressed files in the .gz archive: Sub...: Stand-alone 7-Zip program ' - "l": (Command) List contents of archive '... Example of output in log pane, if the 7-Zip command does not contain "-slt" option: 1: 15... Pavlov : 2019-02-21 Scanning the drive for archives: 1 file, 253 bytes (1 KiB) Listing archive: C... 4: 15:29:43.918: sh_ProcessCompleted . StdErr: Example of output in log pane, if the 7-Zip command... B4A Question Archiver working example - NJDude (first post)    Nov 16, 2012   (1 reaction) Try this:
Dim Zip As Archiver
Dim toZip() As String 'This array will contain all the files you want to zip
toZip = Array As String("File1.txt", "File2.txt", "File3.txt... B4A Tutorial [B4X] OkHttpUtils2 with Wait For - Erel    Dec 25, 2025   (59 reactions)   tags: image, wait, Download, Http MySql, Wait For, ws 256583317 Downloading resources is simpler with the new Resumable Subs feature. Using Wait For we can wait for the JobDone event in the same sub that started the download. No longer is it needed to have a single sub that handles all requests results. Simplest example: Dim j As HttpJob j... As HttpJob) If j.Success Then Log(j.GetString) End If j.Release Example of downloading a quote from... = j.GetBitmap End If j.Release End Sub Example of saving the downloaded file: Sub... B4A Tutorial [B4X] B4XPages - Cross platform and simple framework for managing multiple pages - Erel    Dec 25, 2025   (81 reactions) with a case insensitive string id. The main page id is "MainPage". 7. Example of adding a page: Dim Page2 As B4XPage2 Page2.Initialize B4XPages.AddPage("Page 2", Page2) 8. Example... B4J Tutorial [server] Run a Server on a VPS - Erel    Jan 22, 2026   (20 reactions)   tags: B4J Run Server on VPS, Erel The steps required to run a B4J server on a hosted server (such as a VPS) are: 1. Download OpenJDK 19: https://www.oracle.com/java/technologies/javase/jdk19-archive-downloads.html If you are not familiar with Linux then download it to your development computer, unzip it and upload the files with FTP. You do not need to install anything. 2. Upload the compiled jar with any additional files (www folder for example). 3. Start the server with: nohup path_to_java/bin/java -jar somejar.jar >... B4A Tutorial android.jar / targetSdkVersion / minSdkVersion - Erel    Oct 18, 2023   (93 reactions)   tags: runtime permission, sdk version, Targetsdk, SDK, B4A with backwards compatibility. I will explain it with an example. Google introduced the runtime permissions... B4A Tutorial Google Maps - Erel    Jul 7, 2025   (36 reactions)   tags: Maps, GoogleMaps, GPS, Erel, Map, Google Mpas the package name and api key in the attached example.... B4J Tutorial Integrated B4JPackager11 - The simple way to distribute standalone UI apps - Erel    Feb 26, 2026   (50 reactions) #PackagerProperty attribute. For example to set the icon file, assuming that the ico file is in the Files tab... example if using both WebView and jPOI add: #PackagerProperty: IncludedModules = jdk.charsets, javafx... folder (C:\Users\H\Downloads\test for example): #CustomBuildAction: After Packager... it to run the external packager tool, for example to build Mac or Linux packages. Steps to.... This can cause for example, the dates to appear in English even when the default locale is non-English... Page: 1   2   3   4   5   6   7   |