performance - Android app - Perfomance vs Size -


I am in a dilemma that anyone knows the best answer I'm developing an app that uses a geographical database to get points and current user status. The database I am using is a postgear and its size is 75MB. What do you think is the best thing:

  1. Develop a webservice and get the status of every 5 meters user Do an HTTP request for?
  2. Use the database inside Android and get information with the Geo queries?

Thanks; -

    It depends on the purpose of your app

    1. If your app needs offline and still requires function, then the database is essential.
    2. If your app is not required to lose offline capability and data, then a service is a good option if the data is large, then you are back to the database option.

    We have faced some real challenges with situation data and relative accuracy within our app. Another idea is battery consumption. If you add a message to GPS polling, then it can suck a lot of battery good luck.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -