title: trying to call activity from a jar file in android - ClassNotFoundException
body: <p>I had a Android APP with activity and everything. however, I am trying to turn it into library and use it in another app. the APP compiled as a JAR file just fine.</p>
  
  <p>however, when I call an activity from jar file , it immediately fails with ClassNotFound exception.</p>
  
  <p>this is how I am calling the intent:</p>
  
  <pre><code>    Intent dialerIntent = new Intent(this, SipHome.class);
      startActivity(dialerIntent);
  </code></pre>
  
  <p>here SipHome.class is defined in the library jar file.</p>
  
  <p>The error that I get is:</p>
  
  <pre><code>05-23 17:23:36.081: E/AndroidRuntime(21634): java.lang.RuntimeException: Unable to get provider com.thaifi.remote.db.DBProvider: java.lang.ClassNotFoundException: com.thaifi.remote.db.DBProvider in loader dalvik.system.PathClassLoader[/data/app/com.thaifi.remote-2.apk]
  </code></pre>
  
  <p>any idea what might be the issue? </p>
  
  <p>here is my manifest.xml for the jar file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.csipsimple"
      android:versionCode="1485"
      android:versionName="0.04-00" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="4"
          android:targetSdkVersion="15" /&gt;
  
  &lt;/manifest&gt;
  </code></pre>