Android application that gets data from a remote database
I am attempting to write an Android application that will use the publisher/subscriber model to get data from a database that will be hosted on some remote server. This is a prototype application so I am just going to host the server on my home PC. I am using Ubuntu. I have read and researched this topic but there is a wide array of scattered answers. I have a lot of questions dealing with this but for starters.. 

 > What is the best method for hosting a server that contains a database, to use with android?
 > does it matter what type of database I use?
 > Can I use the android SQLite APIs for getting data from the database

I read in multiple places that it is not kosher to connect to a database from anything over the internet directly, especially from a mobile device. So I think I need to use some sort of HTTP, REST or something of the sort.

I am not well versed in any of this, so if any relevant information would be appreciated.

thanks   
 
Android application that gets data from a remote database
===

I am attempting to write an Android application that will use the publisher/subscriber model to get data from a database that will be hosted on some remote server. This is a prototype application so I am just going to host the server on my home PC. I am using Ubuntu. I have read and researched this topic but there is a wide array of scattered answers. I have a lot of questions dealing with this but for starters.. 

 > What is the best method for hosting a server that contains a database, to use with android?
 > does it matter what type of database I use?
 > Can I use the android SQLite APIs for getting data from the database

I read in multiple places that it is not kosher to connect to a database from anything over the internet directly, especially from a mobile device. So I think I need to use some sort of HTTP, REST or something of the sort.

I am not well versed in any of this, so if any relevant information would be appreciated.

thanks   
 