sqlite

  1. D

    Android Question upload image from memory to sqlite

    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.
  2. adriano.freitas

    Android Question "This app was created for an older version of Android and may not work properly..." message

    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...
  3. SMOOTSARA

    Android Question Add columns to the sqlite table

    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...
  4. Guenter Becker

    Android Question SQLite Crypto

    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...
  5. S

    Android Question Import or read db with 1.000.000 and more records

    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...
  6. gezueb

    B4J Question B4j Sqlite missing write permission?

    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)...
  7. S

    B4J Library Open street map viewer

    see https://www.b4x.com/android/forum/threads/open-street-map-viewer-gps.127827/ a B4Xlib for B4A and B4J to view Open Street Map
  8. S

    B4A Class Open Street Map viewer - GPS

    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...
  9. LucaMs

    B4i Library [B4X] lmB4XComboBox

    Version: 1.04 02/03/2021 https://www.b4x.com/android/forum/threads/b4x-lmb4xcombobox.116767/post-729765
  10. LucaMs

    B4J Library [B4X] lmB4XComboBox

    Version: 1.04 02/03/2021 https://www.b4x.com/android/forum/threads/b4x-lmb4xcombobox.116767/post-729765
  11. Daniel44

    Android Question [SOLVED]How to Sum the items of a listView (Not count them)

    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...
  12. D

    B4J Question Sqlite - LIKE case-insensitive for not English letters

    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...
  13. M

    Android Question select date values stored as numbers from sqlite db

    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...
  14. K

    Android Question Progressbar with SQLite NonQuery

    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)...
  15. K

    Android Question Sqlite android.database.CursorWindowAllocationException

    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)...
  16. rgarnett1955

    Android Code Snippet Tip: B4a SQLite Database Potholes - WAL File Checkpoint

    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)...
  17. rgarnett1955

    Android Question SqLite create_aggregate function

    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...
  18. demonio_jack

    Android Question JdbcSQL and SQL are compatible?

    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...
  19. Mashiane

    B4J Library BANanoSQLiteR - Distributing and accessing an existing SQLite Databases - Part 2

    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...
  20. Mashiane

    B4J Library [BANanoConnect] BANanoSQL+SQLite+MySQL+MSSQL 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...
Top