0
Is there any way that I can attach a Database with App [Read Description]
Is it possible that I attach some database with app and whenever I update the database It displays (post) on top of app and then older ones. I think you got the point that what I am talking about.
2 Respuestas
+ 2
In some scenarios you don't necessarily need an database, for small apps. But it's depends, if your app is just storing strings, and primitive values than using a databases is not a good choice. You can use shared preferences in this cases.
https://developer.android.com/reference/android/content/SharedPreferences
If your app really need database than I suggest you to use Data Persistence library(Room). It's like a abstract version of sqlite, more easy, robust, reduced more boiler plate, and more advantages.
https://developer.android.com/topic/libraries/architecture/room
0
if you mean attaching a stand-alone, server-less database with your executable, then use Sqlite. it’s the most popular one. it’s written in C and has bindings to other common languages as well. Displaying the updated info would depend on how you write your code. but for sqlite there are some third party db browsers which let you see what is written in the db. it’s really useful for debugging purposes. if this isn’t the answer you were looking for then I think I misunderstood your question.