Android Question Database for B4A

Nitin Joshi

Active Member
Licensed User
Is it possible to create database in B4A?
Basically, I want to store some values and next time when app is opened I would like to access.
 

eps

Expert
Licensed User
Longtime User
Yes, when you say values, what do you mean? A handful or lots? Related Data or just some values?

You can store information in files and re-read those or you can have a full blown database, sqlite for instance..

Loads of example on here and some tutorials.

e.g. https://www.b4x.com/android/forum/threads/sql-tutorial.6736/#content

I've been using a sqlite database with B4A for a number of years now - I use the Firefox extension to create the database - and Excel to create a lot of the data (export from Excel as CSV and then import the CSV in to Firefox using the sqlite extension).
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
usual u need a database if you will query/search/filter for data.
alternate u can use a type put it into a list and save/load it via "File..."
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…