Invoking activity that is located in a jar
<p>I tried to invoke another activity from my main acitivty which is located in a jar file. </p>

<blockquote>
  <p>Class clazz =
  Class.forName(getPackageName() + "." +
  getActivityName()); startActivity(new
  Intent(this, clazz));</p>
</blockquote>

<p>I'm doing it this way because I only know the name of the class. This works fine, but unfortunately, all resource files can't be found while loading the activity from the jar file. At the first occurence of loading a res file there is a <code>ResourceNotFoundException</code>:</p>

<blockquote>
  <p>04-30 11:18:46.944:
  ERROR/AndroidRuntime(1749): Caused by:
  android.content.res.Resources$NotFoundException:
  Resource ID #0x7f040006</p>
</blockquote>

<p>Any hints for that? </p>
