I am about to make an app that connect to database and update listview every X seconds (connection via WiFi).
My questions:
- Is it a good solution to keep connected app to wifi and update the list eg. every 10 seconds?
- What is the easiest way to communicate with database via php scripts? I was looking for this and found example with HttpClient but in Android Studio it says that this is deprecated. Then I found HttpURLConnection but I have got no clue how to use it.
Thanks in advance for your help.