I am searching for a solution to update the UI from a service.
The best solution I found is this one:
subclass Application and let in-app communication go through this class
As suggested here More efficient way of updating UI from Service than intents?.
Unfortunately I am new to Android and Java programming, so I do not really understand how this works.
It would help me very much, if someone could create a working example project from the given code snippets in the solution. An app that starts a service, increases a counter and displays the counter in textview would be a good and simple example. I think I will understand this much better than a therotical solution.