B4A Tutorial [B4X] TextEditor - Save and load external files - Erel    Sep 10, 2023   (38 reactions) -list-of-other-related-methods.129897/#content Allow other apps to view text files using this app...-with-activityviewcontroller.73159/#content This also allows saving the text with the Files app. Allow 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.... B4A Load external files, including online files, using ContentChooser. Save to an external target... B4A Tutorial Text files - Erel    Nov 28, 2010   (18 reactions)   tags: dirDefaultE, tutorial, dir, dirAssets, B4A ) you may prefer to work with TextReader or TextWriter. File.WriteString - Writes the given text to a new... are files and databases. We will cover text files in this tutorial. The predefined Files object has several utility methods for working with text files which are pretty easy to use. Files locations... several methods for writing and reading to files. You can also use TextReader and TextWriter to do it manually. Note that TextReader and TextWriter are not limited to files and can work with other... B4J Tutorial Parsing huge text files - Erel    Nov 24, 2013   (5 reactions) Process_Globals Type IpAndCount (ip As String, count As Int) Private serializedMapFile......") Dim tr As TextReader tr.Initialize(File.OpenInput("", Args(0))) Dim... build apps that handle huge files. I downloaded a 3.7GB log file from this server. Each line represents... will go over all the lines in the file and add each ip address to a Map named ips: Dim count... with RandomAccessFile.WriteObject. This allows you to write the whole map to a binary file. raf... Share My Creation Open a text file with any extension - Sergey_New    Apr 11, 2025   (6 reactions) and file names, you need to normalize the URI:
Dim folder,filename As String
Dim n...The application allows you to read such a file by clicking on its name in the phone's file... B4A Example Share Text File Between 2 Apps - aeric    Jun 1, 2024   (2 reactions) .
It is a response to this question.
B4ARepositoryWriter - writes a text file to an "external" directory (you can view using File Explorer).
B4ARepositoryReader - reads the text file in... B4A Example Import a CSV Text File Into a Newly Created SQLite Table - Mahares    Sep 6, 2023   (10 reactions) 1. I use StringUtils library to import the CSV text file into the SQLite table. There are other... is no longer recommended by the community.
2. The text file in this project has a semi colon as delimiter. With StringUtils, you can use whatever delimiter came with the file.
3. The column names... Share My Creation B4X Localizator 2-Way File Converter (strings.db <-> strings.xlsx) - aeric    Nov 17, 2025   (7 reactions) 168433 This is a 2-way converter for B4X Localizator files which is a combination between Erel's B4J Localizator Convertor (xlsx->db) and my Localizator File Converter (db->xlsx). GitHub: https://github.com/pyhoon/localizator-file-converter-b4j... B4J Code Snippet [B4X] AppendToTextFile - LucaMs    Nov 30, 2021   (11 reactions) Description: appends text to a text file ? Author: @Erel (original code here) Platforms: B4A, B4J, B4i Private Sub AppendToTextFile(Dir As String, FileName As String, Text As String, NewLine As Boolean) If NewLine Then Text = CRLF & Text End If Dim out As OutputStream = File.OpenOutput(Dir, FileName, True) Dim b() As Byte = Text.GetBytes("utf8") out.WriteBytes(b, 0, b.Length) out.Close End Sub ... B4J Code Snippet Drag and drop file into a B4XFloatTextField - Erel    Feb 8, 2026   (13 reactions) As String = e.GetDragboard.GetFiles.Get(0) Try txtFile.Text = filename Catch Log... txtFile As B4XFloatTextField Private DragAndDrop1 As DragAndDrop Private AllowedExtensions As List....HintText = "Drop file (allowed extensions: csv, xlsx, xls)" txtFile.Update Sub... As DragEvent) txtFile.TextField.SetColorAndBorder(xui.Color_White, 1dip, xui.Color_LightGray, 2dip....Size = 1 And File.Exists(files.get(0), "") Then Dim filename As String... Wish request / beg to Erel for making layout a text file, json/xml etc. - again - AnandGupta    Apr 20, 2025   (4 reactions) We know we have requested / begged to @Erel for making layout a text file, json/xml etc....cs file which is a plain text file.
After studying this file, I was able to write in Xbase++ code to... Page: 1   2   3   4   5   6   |