Skip to main content

All Questions

Tagged with
1 vote
0 answers
1k views

Android database (Room) not updating after application update

I'm kind of new to Android development, but I'm taking over some project somebody more experimented than me did. I'm making an application that retrieves data from the internet at startup and creates (...
whiteShadow's user avatar
0 votes
0 answers
38 views

How do I update the filed of date while I have an text view in activity

My question is I need to update an entry from the database which is of type "date". When i created a new activity called update activity in which I used edittext as to stored the updated date. Now I ...
Naman Sinha's user avatar
1 vote
0 answers
372 views

how to update data in sqlite database in android

I have a problem in the database program please guide me. I created a database manually and copied it to the assets folder and runs all parts of my program, but I do not know how to complete the ...
alirezaghasemi's user avatar
1 vote
2 answers
270 views

Store user data in database separately

What is the best practice to store user data separately from the actual app data? The user data is a statistic and it will be collected during app usage. The database must be always updated but I have ...
Sam Joos's user avatar
  • 450
0 votes
1 answer
73 views

Couchbaselite update operation leads to inconsistent behavior

I am using Couchbase Lite SDK for android and saving an object instance of MyClass as a document in the database. MyClass has an attribute that stores the date in the java.util.Date. During run time, ...
Swapnil's user avatar
  • 1,991
0 votes
1 answer
106 views

update database value stored by using specific spinner value - android

The task given to me is to "change the state(Spinner) value", for which I used spinner to select the specific state and it "directly stores its value in database". Now I need to "Update the state" ...
Aditya Angiwala's user avatar
1 vote
1 answer
188 views

Updating SQLite database when app shipped with database for releasing new version

I am shipping the database file with our android application. For that I followed How to ship an Android application with a database? answered by Danny Remington - OMS. Now I have to provide the new ...
pjain168's user avatar
-3 votes
3 answers
1k views

update rawQuery in to database is not working on android

In my project i'm updating the searchtag in the database by using this query public void updatesearchtag(){ SQLiteDBHelper sqLiteDBHelper = new SQLiteDBHelper(context....
Jagan's user avatar
  • 642
2 votes
2 answers
3k views

How can I replace (overwrite the entire file) a sqlite database provided by SQLiteAssetHelper?

I have a database file in my app's src/main/assets/databases directory. I want to download a new copy of the entire database (no data needs to be retained), and overwrite the old one. How can I do ...
BLuFeNiX's user avatar
  • 2,546
1 vote
2 answers
2k views

Updating a sqlite database from text file

I am new in database development, sorry if this is inconvenient to ask. I am developing an Android application, the database of which has a table with thousands of entries. This table is generated ...
oOo's user avatar
  • 21
2 votes
1 answer
687 views

Starting an update checker thread, checking for new entries in a database

I need some suggestions for approaches to take... Here's some background info: Right now I have an Android app and a separate java program running on my server. The java program continuously go out ...
Ryan's user avatar
  • 794