title: Using a broadcast receiver as an activity innerclass with manifest registration
body: <p>I have an activity in which I have a broadcast receiver (br).  If I register the br programmatically the receiver is registered and works great.</p>
  
  <p>However, if I register the receiver in the manifest I receive a java.lang.ClassNotFoundException.</p>
  
  <pre><code>&lt;receiver             
          android:name=".MyActivity.UpdateUIClass"
          android:exported="false"
          &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.mydomain.main.FILTER_UPDATE_UI" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;                
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  </code></pre>
  
  <p>Please advise</p>