How to code OnLineUsers in Android with PHP, mySQL, Java

Hey everyone ! Last tome, I have started an Android project. In my project, I want to list every users which to my application. The problem is I don’t know how to do it ! I want to make it with php, mySQL and Java. Could you help me please ?