If i have an app that s a list of hotels with basic info of them (location, rating, pricing, etc), and i want to allow users of my app to vote for a specific hotel (giving it a “stars” rating and a few line comment – much like a rating in the Android Market), how and where do i store thoe rating so they will be available to other app users? i guess it should be online, but how?
Is it recommendable to allow the app to publish the rating online but do the calculations and add the comments on the next app update?
if i decide the latter, how do i control the database that has the comments stored because every comment requires its own field right? so can i have the unified DB for all the data (my info on the hotels, rating, comments) that is automatically expandable for the extra fields for comments?
i hope you undestand what i am asking here…
you are going to need an external database. I would use MySql as an interface. External databases are a bit trickier than local sqlite. Try looking at this http://www.slideshare.net/kewang/20100607-how-to-access-the-database-using-the-android good luck!