Do you display texts in the APP by strings?

Asked

Viewed 23 times

1

I am creating an APP to list the bus lines and when clicking on a line, will open the information of the schedules of the same line. I wonder if you have how to put these Strings directly in the APP?? and if so, would it be worth it?? Thanks in advance, thank you.

  • You want to do this so you don’t have to search from an Internet server?

  • That’s right, because I would like this APP to work offline.

1 answer

0


If the data is fixed you can store in a sqlite database, and present to the user.

Now, if the data is dynamic, and provided by a web-service, and you need it to be offline, you should update your database periodically, whether using a file, that you generate and distribute to the Apps, somehow, or causing them to consult the WS or a WS that you create, periodically.

My personal opinion is that it might be worth it, because bus lines don’t change every day. I would put an update recommendation in the APP, saying that the data is outdated, and when this happens, it needs to consult WS to update itself, this being optional.

Think that the user always waits for the simplest, if he doesn’t need to do anything, better for him.

  • Thank you very much.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.