I am developing my first Android app which displays events in my city for the following days.
I am parsing the websites with PHP, then I am going to send these data to my database and user will fetch the events from it.
The very first problem I ran into is where to store my database. I am trying to figure out some better solution than using a server because there are just two tables. Is there any other simplier way than paying for the server?
Another thing is connecting the database with Android. I did some research and setting up the web service with REST api seems like the right way to go. Also I am thinking about Phonegap framework so that the app would work on iPhone and other devices.
Is this the right approach?
The last thing is storing the data on the Android side so that the app could work offline. I am thinking about creating SQLite database and on startup just to handle some queries or storing JSON file and parsing it. What’s better solution?
A few pointers.