How can I manage feed from many different source? [closed] - java

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.

Related

Database for Android [closed]

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.

make application with database MySQL is faster [closed]

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 2 years ago.
Improve this question
I was creating an application with java and database is mysql and it was running well but when data get large (more than 500 fields) application running slowly , so How Can I make it fast ?
For db
Add indexes for frequently searched fields
Think about table partitioning, rarely searched data should be stored in archive tables
For backend
Optimize queries
Minimize cursor fetching
For client
Use pagination to avoid large data loading
Use async loading (SwingWorker for swing, Service for javafx) to avoid UI hanging
Don't mix archive and working data in one UI form

Database driven application means? [closed]

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 4 years ago.
Improve this question
I heard spring Framework should also be used to develop database driven applications.
what is exactly database driven application means?
Every application that persists data about you in a database to tailor the user experience to you is a database-driven app.
Examples :
Facebook saves your data so it knows who your friends are, the posts you have made and liked.
Twitter saves all of your tweets in a database, much like Facebook.
Uber uses databases to keep track of who needs to be picked up, who just got picked up, who needs to be charged how much, and how much to pay each driver, etc.
You can see full explanation here database-driven-application
So we can achieve this using spring like best-approach-to-creating-a-database-driven-java-website

Android Activity Displaying Random Users [closed]

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 4 years ago.
Improve this question
I am trying to create an app that has an activity screen that allows a user to see random users who have downloaded the app as well. I failed short finding information/tutorials related to the topic. I understand there will be manipulation of profile data via php/mysql. An example of what the functionality I am looking for would be instagram's search page that shows a grid of random profiles.
Try something like the Firebase Realtime Database.
In case you don't know it, Firebase Database is an online database it handles most of the work for you. Simply make your users enter their information(Name,Profile picture,Age etc...) and then retreive the user data. Check out the Firebase database documentation for more info.
There are also other alternatives.

Is there a database option that is local and does not require lots of overhead [closed]

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)

Categories