sqlite

  1. ALBRECHT

    Android Question Migration SQLite during app Updating

    Hello, Ok, i know that no Sqlite data will be lost during an upgrade, only when we uninstall the app. But if i need to change the data format between 2 versions, (in this case, add a field) i would have to implement some migration code. what is the just method for doing this ? Thanks Michel
  2. Duque

    Android Question Migration SQLCiper V1.50 to V1.60

    Colleagues, I'm pretty worried, I should do this migration from SQLCiper V1.50 to V1.60, as we all know from the 64BIT binary. The problem is generated because the database created in V1.50 will not be compatible with V1.60, so as I do to pass that data to the new database when updating the app...
  3. carlos7000

    Android Question Problem saving data quickly in SqLite

    Hi all. I'm trying to save some of the data I get from the gps in a database. With the following code I have no problems. Query = "INSERT INTO `GpsData`(`Id`,`UnixTime`,`Lat`,`Lon`,`Speed`,`Bearing`) VALUES (NULL,'" & UnixTime & "','" & Lat & "','" & Lon & "','" & Speed & "','" & Bearing &...
  4. carlos7000

    Spanish Problema al guardar datos rápidamente en SqLite

    Hola a todos. Estoy tratando de guardar en un base de datos, algunos de los datos que obtengo del gps. Con el siguiente código no tengo problemas. Query = "INSERT INTO `GpsData`(`Id`,`UnixTime`,`Lat`,`Lon`,`Speed`,`Bearing`) VALUES (NULL,'" & UnixTime & "','" & Lat & "','" & Lon & "','" &...
  5. Mashiane

    B4J Library [BANanoSQLite] SQLiteDB PHP CRUD Class for BANano

    Ola UPDATE 2020-05-19: Please use this library instead Update: BANanoSQLite1 Example If you are opting for MySQL connectivity, BANanoMySQL is available here. My journey finally has led me to complete a basic wrapper that one can use for PHP SQLite access. Initially, we tried...
  6. D

    Android Question Database Error

    I am learning how to use SQLite and DbUtils. I have written code that creates a db and a table. It then writes values to the table. However it does not seem to be able to retrieve them. Not too sure what is wrong with the code, as it is pretty much what is in the tutorial video. Here is the...
  7. trejocode

    Spanish [RESUELTO] OkHTTPUtils2 - MySQL Bloqueante

    Hola, tengo un problema es que no alcanzo a comprender del todo como "Bloquear" una petición HTTP por que utilizo Wait For (Resumable). Miren el caso: Selecciono mis elementos de mi base de datos local, y luego envío los datos a una API pero no se envían de forma apropiada por que, como es un...
  8. trejocode

    Android Question FOR (Loop) and Call a WebService | OkHttpUtils2

    Hello, I have a problem is that I do not understand at all how to "Block" an HTTP request because I use Wait For (Resumable). Look at the case: I select my items from my local database, and then I send the data to an API but they are not sent properly because, as it is a "non-blocking" event...
  9. A

    Android Question [SOLVED] Multiple tables in sqlite database

    Hi Helpers :) I have a sqlite db with multiple tables, I am not sure why but I no matter what I do, I can not read from all the tables in my DB, I have searched in sqlite documentation and saw some examples which are not different than what I have, but for some reason it fails, when I try the...
  10. D

    Android Question Storing UI Element Data in SQlite

    What is the best datatype if you want to store a UI element in a SQLite database? e.g. All the Data Associated with a Label or a more complex element. In my case the UI elements are quite complex, a simple copy to value approach won't work.
  11. Kevin Hartin

    Android Question How to put bitmap object into imageview

    I am successfully putting image files into an Sqlite blob, then later reading them from the blob field, however I end up with them in a bitmap object which I then have to put into an imageview. I can see the activity background image, so I k ow I have the blob as an image object, I just need to...
  12. Kevin Hartin

    Android Question Text from SQLite into Label being truncated

    This is my first question, so please bear with me. I am reading a field from SQLite to populate a Label inside a ScrollView that sits on a tab in a TabStrip. It all seems to be working fine, but it seems that the very long text strings are being truncated. For example, one string in the DB is...
  13. Mashiane

    B4J Tutorial [BANano] Exploring Using PHP & SQLite for your WebApp

    Ola UPDATE: BANanoSQLite now available for actual sqlite db file CRUD functionality. This is part 1 of a series of my explorations using SQLite as a backend to a BANano app. I need a way to persist the data to a database, but thought of a serverless database for now. Series 1. Create the...
  14. E

    Android Question How to Add SQLite to Assets

    Can i add sqlite database to assets? im use database for read only, i will never insert,update or delete it. just use for select data. schema and record will make out of application.
  15. Mashiane

    B4J Tutorial [BANano]: Distributing and accessing an existing SQLite Databases - Part 1

    Ola Part 2 UPDATE: BANanoSQLite now available for actual sqlite db CRUD using PHP I've been wondering if I could be able to do this as I want to distribute my app with an already existing SQLite.DB database for READONLY access. No, this is not WebSQL but a pure SQLite database. At first I...
  16. E

    Share My Creation My Quiz Software

    It works with B4J, Sqlite Database And also ESp8266 12F...through UDP Communication
  17. E

    Android Question Database file added in apk file

    Is it Possible to add a Database File (Sqlite) in Andriod Application. If yes how it is possible. My requirement is this database file install in my Andriod Device during installation of APK file. So that I can read,edit, modify its content.
  18. peacemaker

    Android Question SOLVED: SQLite concatenation

    HI, All android.database.sqlite.SQLiteException: near "||": syntax error (code 1): , while compiling: SELECT FName || ' ' || Name || ' ' || SName ', ' || Position FROM CompanyWorkers WHERE UserID = 'F185C519D5E91F03' Requested like SQL.ExecQuerySingleResult(req) Why error? SOLVED: $"SELECT...
  19. peacemaker

    Android Code Snippet DBUtils: clear table (delete all)

    'Tests whether the given table exists Public Sub TableExists(SQL As SQL, TableName As String) As Boolean Dim count As Int = SQL.ExecQuerySingleResult2("SELECT count(name) FROM sqlite_master WHERE type='table' AND name=? COLLATE NOCASE", Array As String(TableName)) Return count > 0 End...
  20. E

    B4J Question SQLite Database....How can I find the the number of rows in a table.

    How can i find number of rows in a table in Sqlite Database....Thanks in Advance..
Top