Read Arduino push button status on app inventor application live

I am working on some relays which can Controll from android application made in app inventor. Can any one help me with that. I made sketch in Ajax web server and it's working fine but as a web page but I want to make application for android control the led and relays from application. Through Ethernet shield w5100.