Abstract classes in Android library
<p>I have an abstract Activity in an Android library (<strong>AbstractActivity</strong>) that is supposed to be used in other applications as the base Activity.</p>

<p>Since this Activity isn't supposed to be used directly, it isn't declared in the library AndroidManifest.xml file (the real reason is because the Activity is declared as abstract) and so I can't declare it in the applications AndroidManifest.xml file.</p>

<p>The real problem is that when I create an application that uses the library, two .apk files get deployed to the device, <em>Library.apk</em> and <em>Application.apk</em>, and when the Application.apk is started it closes with the following message in LogCat:</p>

<pre><code>ERROR/AndroidRuntime(4709): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{foo.bar/foo.bar.ApplicationActivity}: java.lang.ClassNotFoundException: foo.bar.ApplicationActivity in loader dalvik.system.PathClassLoader@44bec098
</code></pre>

<p>Can I reference an abstract Activity that is declared in a library and use it as the base for an Activity in a project that references this library?</p>
