• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

PHP wait for signal and redirect from android app

I am trying to develop an Android application, and I feel kinda stuck in an implementation detail.
I want the application to connect with a web server (LAMP). My PHP page would then wait for a signal from my Android device and redirect the page upon an event being triggered.
After a bit of research, I have deducted that sockets one to this, although I'm not quite sure. The Android device connects to the socket on the server and sends a signal for redirection on event completion. Are there any alternate methods to accomplish this?
Also, my other usage of the server language would be to handle POST requests and submit them to a database. Are there better suited languages compared to PHP?
 
I'm not clear what you are trying to achieve here and what you are trying to redirect. Any chance of some broader details about what the app is supposed to do?
 
Back
Top Bottom