Hello
Couldn't find a similar question on the forum on my own, sorry. Is there a way to upload a photo from my phone to SQLite?
So that the user can see the gallery and select a photo.
I will be glad for any help.
Helo! I'm starting programming with B4A. When my first app runs, it checks if the database exists. If it doesn't exist, create it. If there is, use it. Everything works, however, when the database does not exist and he has to create a new one, the mobile application generates a message that...
Hello friends š¹
I have a sqlite database "master.db" with a table "table1"
The columns of the table are: " ID, first_name, last_name"
I want to check if there is no "phone_number" column, add it and save a data in "phone_number" column . (with coding sqlite commands in the program)
1_How...
Hello to you,
I'm working with SQlite Version 3 and as known this kind of database has no encryption or password protection. But there is an enhanced clone of the native database as a GitHub Open Source Project is's called SQLiteCipher. The Documentation says that it is working like a standard...
Hi, i have a csv file with 1.000.000 and more records. My initially idea is read and copy the records into my sqlite database, because i want my records locally, but the file is too big and the app crash (450 mb).
What is the best way to copy locally or it's better to read remotely this file...
I have made an B4j programm that reads and writes into a local sqlite database. The database is located in the path c:/sql in a windows 10 installation.
The program works perfectly when compiled and executed in the IDE. However, it fails to insert data into the sql database (without exception)...
Hi,
This b4Xlib contains a custom view (cvMap) which can display Open Street Map.
The tiles are retrieved from the internet and cached in a database. You can add shapes and images on the map.
UI :
- Lat/lng Center of the map
- Zoom Level
- Compass Direction with rotation
- Scale
- Button...
Hi everyone
I'm working with a listview (I know that I must not be working with a lv but a clv but I guess If I work wit a CLv I'd have the same issues:))
I fill it by adding addTwoline with spinners value (spName and spPrice)
LV1.AddTwoLines(spName.SelectedItem,SpPrice.SelectedItem)
and...
here is my sample code, but the result is not as expected
#Region Project Attributes
#MainFormWidth: 600
#MainFormHeight: 600
#End Region
#AdditionalJar:sqlite-jdbc-3.32.3.2
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private SQL As SQL
End Sub
Sub...
Hi,
I store date values as long in a table of sqlite db.
Now I would like to select data with the certain date, picked with B4XDateTemplate. So I have a date in format "dd.MM.yyyy".
I try with this code, without success:
Try
DateTime.DateFormat="dd.MM.yyyy"
Dim strgDate As...
Hi Experts,
This is SQlite Update Code
Dim count,limit,offset As Int
count = db.ExecQuerySingleResult($"select count(*) from a"$)
limit = 100
offset = 0
Do While offset < count
db.ExecNonQuery( _
$"UPDATE a SET amt= (update sum values here)...
I'm getting this error again.
Error occurred on line: 479 (MysqlEntrySync)
android.database.CursorWindowAllocationException: Cursor window allocation of 2097152 bytes failed. # Open Cursors=920 (# cursors opened by this proc=920)
at android.database.CursorWindow.<init>(CursorWindow.java:136)...
Hi B4X'ers
I just thought I'd post this tip to warn of a problem I came across when using an sqLite data base created and populated using sqLite Studio. The steps I used were.
Created an sqLite db using sqLite Studio on Win 10 pc
Set the DB to use the Write Ahead Log journal method (WAL File)...
Hi All
The other day I wrote a query for sqLite to return the standard deviation of a column.
SELECT STD(colFred), AVG(colFred) FROM tblFredsTable ...
Imagine my disappointment when I found that sqLite doesn't provide standard deviation or variance aggregate functions. All of the other...
Hello everyone:
Today I have a fairly specific question: Are the JdbcSQL and SQL libraries compatible or not?
I have been developing an app (android) using JdbcSQL, as recommended, and connecting to a MYSQL server without any problem. However, for a few days now, I have wanted to add to my...
Ola
Download
Part 1 is here.
At some stage we explored how one can distribute / embed SQLite database on their BANano app. These databases are mainly for read only access purposes where one just wants to display data.
Here we explore part 2 of the tutorial, however now made into a library...
Ola
For a while I have been exploring backend connectivity using BANano for BANanoSQL, SQLite, MSSQL and MySQL. The purpose of this lib is for a one place for all your connectivity with these backends.
This library as a couple of class utilities for connecting to BANAnoSQL, SQLite, MSSQL and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.