Running code in main thread from another thread
<p>In an android service I have created thread(s) for doing some background task. </p>

<p>I have a situation where the thread need to post certain task on main thread's message que, for example a runnable.</p>

<p>Is there a way to get Handler of the main thread and post message/runnable to it from my other thread ?</p>

<p>Thanks, </p>
