How to run a Runnable on UI thread from a custom class
<p>How can I run a Runable on the UI thread from a custom class? The method "runOnUiThread(Runnable)" would get the job done but it is a part of an Activity. I wonder if the Application class support something similar because its easy to get an instance of it. 
I have read about the annotation "@UiTread" from the androidannotation framework. Does this annotation also work for a custom class?</p>
