Is there any AJAX-like asynchronous callback method in Android?
<p>I was wondering if there is any way to create asynchronous callback functions in an android client similar to AJAX, binding an event handler to a 'response received' event. I am looking for something like this:</p>

<ol>
<li>Client sends data through POST or GET to the server and the app is not locked, waiting for response.</li>
<li>Server process the data and sends a response.</li>
<li>The app receives the response and at this time an event is raised and its event handler is executed.</li>
</ol>
