Can any body elaborate with sample code how to use onNewIntent inside of a ListActivity class so that I can dynamically update my ListView while it is displaying?
Edit :
As a newbie in android developement i was confused and stressed to ask this.
The real thing what i was looking to interact and update your listview dynamically with server events. Hopes down votes will be recount again !!!
A possible use case is a Service which sends results to your Activity.
The Activity’s
onNewIntent()method receives the Intent which was passed to the Activity. From there you can pass that Intent to a method which processes it.That is, it extracts the data you need and updates the ListView with fresh data.