Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

I am trying to rename a column in an SQLite database (SQLiteOpenHelper) in my Android app. The code I am using is: db.execSQL( "ALTER TABLE $MY_TABLE_NAME RENAME COLUMN $OLD_COLUMN TO $...
User Technozer's user avatar
1 vote
1 answer
58 views

I am trying to locate the database created by the following code on my Android device, public class DBAdapter extends SQLiteOpenHelper { public DBAdapter(Context context, String name, SQLiteDatabase....
portsample's user avatar
  • 2,174
2 votes
2 answers
99 views

I have an android java app that uses a SQLite internal database with a database that is located in the asset folder. So I "manually" copy the database in the constructor. My question is, if ...
VanessaF's user avatar
  • 717
0 votes
0 answers
72 views

We've recently encountered this crash but haven't been able to identify the root cause, as the error appears to be coming from WorkManager. Workmanager version: androidx.work:work-runtime-ktx:2.7.0 ...
yorispr's user avatar
0 votes
0 answers
27 views

I am trying to export date in my android app from SQLite database to CSV. But the data in database contains accents (diacritics) as they are in slovak language. My export already works, but when I ...
Darksymphony's user avatar
  • 2,757
2 votes
2 answers
53 views

I tried the following code but it does not appear to work. public DataBase(Context context) { super(context, getDatabasePath(context), null, DATABASE_VERSION); this.context = ...
nadra's user avatar
  • 21
0 votes
0 answers
66 views

I have this entity and today I added one more field at the bottom: isClient: Boolean @Entity(tableName = "user") data class UserDataEntity( @PrimaryKey val id: String, val ...
Nontas Papadopoulos's user avatar
0 votes
1 answer
104 views

I have my database created at /data/data/<app_packagename>/databases/dbfile by react-native-sqlite-storage i can see this file with Android Studio device explorer and the db works fine i need ...
riane riri's user avatar
0 votes
1 answer
1k views

I have downloaded the extension I want in sqlite3 which is spellfix and when I open sqlite3 to enable it the cli is not able to recognize the sqlite function Not sure how to load the extension ...
Abdo Sabry's user avatar
3 votes
1 answer
153 views

I'm trying to retrieve a long string saved in my Room database table. But I'm observing that the DAO query only returns the first 5,000 characters of that string. I can see the full 11,000 characters ...
Prof's user avatar
  • 706
2 votes
1 answer
585 views

I have an app created in maui (.NET 7). Now I tried to update to .NET 8 and updated ALL NuGet packages. From now, I'm unable to open connection to SQLLite internal DB public const SQLite....
Denis De Pauli's user avatar
2 votes
2 answers
7k views

Here's my coding import * as SQLite from 'expo-sqlite'; const db = SQLite.openDatabase('myDatabase.db'); db.transaction((tx) => { tx.executeSql( 'CREATE TABLE IF NOT EXISTS users (id ...
C CB CCC's user avatar
0 votes
2 answers
200 views

Is querying using composite primary key possible with Room? @Entity( tableName = "market_cap", primaryKeys = ["assetId", "timestamp"] ) data class ...
Bitwise DEVS's user avatar
  • 3,841
3 votes
0 answers
585 views

This is part question part answer. Ive spent several days trying to find answer to this problem. Using VS2022 maui targetting androidn and ios. This problem seems to appertain to Android though I ...
john murray's user avatar
0 votes
1 answer
115 views

After my app release, the following crash occurred. Fatal Exception: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 1802 SQLITE_IOERR_FSTAT[1802]): , while compiling: PRAGMA ...
thesquare12's user avatar
0 votes
1 answer
27 views

I have a null object reference but object exist. My model public int getId() { return id; } public void setId(int id) { this.id = id; } public String ...
Gamat's user avatar
  • 1
0 votes
1 answer
150 views

Hey all I am trying to get this SQlite query to work in my Android app but for some reason its giving me the error of: no such function: json_object (code 1): , while compiling But it works in my DB ...
StealthRT's user avatar
  • 10.6k
1 vote
1 answer
119 views

I am using the following code for deleting SQLite database table. Apparently, there is a message that the table has been deleted, but when the app is run again, the table is shown again. ...
Maria's user avatar
  • 371
0 votes
0 answers
36 views

In my Android app I have a SQL database. The user adds some data in app and he is able to backup the db to Google drive. This works fine, I am doing it like this example: String Path = ...
Darksymphony's user avatar
  • 2,757
3 votes
0 answers
36 views

Consider an application is not a singleton (android:singleUser=”false”) in android device and it has stored certain information in the SQLite DB under a particular user. When the user switch happens ...
Manoj Kumar S's user avatar
0 votes
1 answer
99 views

I have a class, "Course", which I recently changed to consolidate some attributes into another class, "Assessment". The attributes for Course now include "public Assessment OA&...
Dylan Blackhorse-von Jess's user avatar
1 vote
0 answers
24 views

how do I populate a spinner to depend on spinner data in a different activity?In android studio using java and also with sqlite db. I already have both spinners but I am struggling to make the second ...
Lornah Ombati's user avatar
-1 votes
1 answer
99 views

`Hello so i'm a noobie coder and im trying to code this mobile app on android studio that tracks ur current location and then sends it over to sqlite database when the "start journey" button ...
q1an. qian's user avatar
0 votes
1 answer
75 views

I was implementing a Toast method in the DatabaseHandler.kt class in android but the error came out that None of the functions can be called with the arguments supplied that is the Toast.makeTest() ...
Felix Njuguna's user avatar
1 vote
0 answers
113 views

I am trying to write testcase for room database in kotlin for Android. With below implementation, error occurs DummyDatabase.kt internal abstract class DummyDatabase : RoomDatabase() { ...
Yash's user avatar
  • 47

1
2 3 4 5
166