 <p>Do you have any specific reason for using two different pcs? Assuming if you have two application, you can deploy them in one PC and have DB in the same PC.</p> <p>The design of the application should be like this. 1) Develop a REST/SOAP based Webservice application which talk to DB. 2) Deploy this application in Application server. 2) In your android application user REST/SOAP based webservice client to talk to the webservice hosted in step 2.</p>