Receiver as inner class in Android
<p>I am having an inner class which extends BroadcastReceiver.</p>

<p>And I have added following line to AndroidManifest.xml:</p>

<pre><code>&lt;receiver android:name="OuterClass$InnerClass android:enabled="true"/&gt;
</code></pre>

<p>But I am getting error Unable to instantiate receiver org.example.test.OuterClass$InnerClass:</p>

<p>Whats the issue?</p>
