Broadcast Intent inside an Handler
<p>I have an handler in one activity, and I would like to use sendBroadcast in order to start receiver of another application(different APK).</p>

<p>I cant do this since i am into an Handler and i`am losing the scope of my activity.</p>

<p>Any idea how I could achieve this idea?</p>

<p>some code:</p>

<pre><code>private Handler mHandler = new Handler() {
    public void handleMessage(Message msg) {
        switch (msg.what) {
            case INSTALL_COMPLETE:
                 // here I wanna start my extern application via broadcasting!!

                startApplication();
                break;
            default:
                break;
        }
    }
</code></pre>

<p>if broadcasting wont work through handler, any other ideas would be welcome,</p>

<p>thanks.</p>
