tags:

views:

51

answers:

1

How can I start an activity from a servlet? I have an i-Jetty server installed and a servlet that responds to HTTP request. I would like to start an activity from the servlet, does any body have any idea on how to do this?

+1  A: 

You'll have to do it the other way: have an Android Service that will periodically query that servlet and decide whether to launch an Activity (or rather show a notification). AlarmManager might also come handy for this.

alex
I'm not following you on how to query the servlet.
osoberanis