how to connect android app to drupal database?
Here is a module that will help in this venture, for Drupal 6.x and 7.x sites:

DrupalGap

It leverages PhoneGap (Cordova), Drupal + Services + Views Datasource (Views JSON). It provides a starting point for creating multi platform (Android, iOS, etc) mobile applications for Drupal websites.