Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I am new to Android and searched for this topic on the internet but still not sure which would be the best choice. I am writing an app that shows users details about a movie. I want to add to this application a database that stores for each user their favorite movies, and movies they want to watch in the future. What would be a good choice for adding a database? Would a client-server architecture fit this app? (writing it in Java)
If you decide to implement a local database, I would strongly suggest using Room persistence library. However, if the data you wish to save is fairly simple (let's say it is an object with 2-3 properties), you could consider saving them to Shared preferences as json strings.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I need to create a local database for query purposes. I wish to build and populate a database with data from a number of text files, do the queries needed, and then destroy the database since it is no longer needed.
I am currently programing it in VB.net but would eventually want to port into a java or like language so other platforms can be used.
I prefer something that does not require the user to download something else to make this work. A person I asked did suggest SQLite but I am not sure how to load it internally.
Java SDK includes Derby Database - see the link.
That can be used without further download (only Java needs to be there of cause)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Went I read rss from diffrent sources such as bbc, voa,... How can i plan they 'by source', 'by time',... Should I use database ? I think it make my app slowly.
Not using a database would make your app slower. Without a database every time you restart the app it needs to fetch the rss feeds from the servers. It's sensible to store the data offline and update it with the new items on startup / with a button.
Think about additional operations which need a database: labeling, starring, saving for later, etc.
This provides an additional benefit: you can store the news offline so the user can read them without an active connection.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am creating an android app that will use the database intensely and use a lot of Json to read the output from the database over the internet. I know that PHP is an interpreted language but would this cause an issue when creating an android app from a performance standpoint when you have many users? or would I be better off with Java/MySQL. I know both PHP and Java just thinking long term here.
PHP works fine with huge number of users. It definitely wins for rapid development and release. You can scale your servers when the need arises. Imo, use any language/framework you are most comfortable.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am going to be accessing an array of objects, that are saved to internal storage, throughout the Android Application. It will have things like nameString, any song chosen from the device, array of videos, and date of project.
I come from developing iPhone and iPad apps. Usually I would create an NSObject, but according to: android object oriented programming I should load this into each individual activity?
Why you don't use a simple SQL Database. Each row would have the information for one Object.
Just one possibility but I would think about it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I was wondering if anyone knows how to store series of data in an android app, and also how to call those data back (like a bible app or Hymnal).
Is it XML or a form of SQL?
Thanks.
If you are going to store/retrieve a small data (some variables) you can use sharedPrefrences and here is an example,but if you are going to store/retrieve big data you can use database SQLiteOpenHelper example.