Subject: Access romote mysql database

Description:
1. handling remote database with local mobile is tricky task,
   you need to use some thing as middle interface to send mobile
   request to server and vice-versa.

2. Post query using XmlHttpRequest
   Call remote server php(check.php) file
   posted query will query which is sent by mobile (GET/POST)
   php file will authenticate that user information with mysql db (PHP MYSQL)
   php file will respond to mobile.

3. On activity load check in database if data is available or not.
   if NOT fetch data from server using PHP-MYsql and if YES fetch
   data from database and display on layout.