Phone Hack program-o for android chat bot application

Hello everyone,
I am developing android chatbot application. here I have hosted program-o on localhost It is server side and android app is client side. I have look all documentation provided by program-o official site. But I still have no idea how to interface android app with program-o server side. Program-o is php mysql interpreter for aiml. I have good experience to develop android app. But have basic knowledge of php. Please guide me regarding this.