android-database Questions

1

Solved

Directory @Entity(tableName = "directory") class Directory(@PrimaryKey(autoGenerate = false) var id: Int? = null, @ColumnInfo(name = DIR_NAME) var dirName: String? = null, @Ignore var dirImages:...

1

Solved

In my Android project (Kotlin), I want to use Room persistent library for my DATA LAYER. But when I added dependencies for Room Persistent library suddenly build projects start failing. Error whi...
Sidoney asked 5/1, 2018 at 21:6

2

Solved

I was running the emulator and received the following errors about memory leak. It was interesting that the leaking database seems to be of the Google gms instead of a user database. Does anyone kn...
Collative asked 27/9, 2016 at 22:3

1

I have a VideoList object which I want to save using room library but when i try to use @Embedded with public List list = null; it is giving me below error: Error:(23, 24) error: Cannot figure out ...
Francefrancene asked 6/6, 2017 at 20:35

2

Solved

IllegalArgumentException: Unknown URL content:// ^ Having a nightmare with the above. I've checked my variables and paths but can't see what the issue is? Greatly appreciate any pointers! Here's ...

1

Solved

I have created ContentProvider which creates one Database on application launching. Now In that application, I am doing process of deleting database when user logout from app. After that when I c...

3

Before reading the documentation, I would have expected SQLiteDatabase's insertOrThrow() method to have thrown an exception if the insert wasn't successful. However, the documentation says that th...
Maramarabel asked 6/7, 2016 at 13:50

1

I'm trying to get data from databse in a listview as shown below. long count = UserTableSugar.count(UserTableSugar.class); if(count>0) { UserTableSugar.listAll(UserTableSugar.class); List&...
Coze asked 15/6, 2016 at 11:8

2

Solved

Am trying to convert audio/video to byte array and vice versa, using below code am able converting audio/video files to byte array(see below code) but am fail to convert large file(more then 50MB f...
Aleut asked 21/1, 2016 at 11:56

1

Am new to developing, am successfully store the images to database by converting the images in to bytes array and store it to SQLite database in BLOB (find below code). But am not getting how...

0

I have recently updated one of my application and I get the above error in very rare cases. This error occurs only when the user tries to update the app over the existing one. This doesn't happen e...
Rainy asked 28/4, 2015 at 11:33

4

Solved

I've built an application and now I want to copy the database of that running application using my new backup application. I create my database path by doing DB_PATH + DB_NAME, using the following ...
Heterozygous asked 23/5, 2012 at 11:21

6

Solved

I would like to delete a complete database created by my application. Do you know any adb command, or android sentence to do it?
Reeve asked 29/1, 2010 at 10:24

© 2022 - 2024 — McMap. All rights reserved.