title: Android application that gets data from a remote database
body: <p>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.. </p>
  
  <ul>
  <li>What is the best method for hosting a server that contains a database, to use with android?</li>
  <li>does it matter what type of database I use?</li>
  <li>Can I use the android SQLite APIs for getting data from the database</li>
  </ul>
  
  <p>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.</p>