Android Tutorials : Connecting your Android Application to a Database using PHP and MySQL Most of the Android applications will have a need to fetch the data from a database stored in a web server. An android application communicates with PHP with necessary parameters and PHP will in turn communicate with MYSQL database to fetch the data and return it to an android application. In this tutorial, we will show you how to integrate PHP and MYSQL with an android application. In this example, our android application fetches all the upcoming movies stored in a database and populates them in a RecyclerView. Each movie can be clicked to get a pop up menu which will have several options, such as Add to Favorites, Add to Watchlist etc.