I have code in PHP that handled API requests for me. Now I need to convert this code into an Android application so that the API can be called directly from Android.