I have included the ePubReader Android Project as a library in my App named "Test" and trying to launch the ePubReader via "Test" using Intent as follows:
Test App:
findViewById(R.id.button1).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent LaunchIntent = new Intent("it.angrydroids.epub3reader.EpubReaderLauncher");
startActivity(LaunchIntent);
}
});
To handle the Intent, I have made a registry in the Manifest XML of ePubReader as below:
Manifest XML of ePubReader:
<activity
android:name=".EpubReaderLauncher"
android:label="@string/app_name" >
<intent-filter>
<action android:name="it.angrydroids.epub3reader.EpubReaderLauncher" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
When I launch my App named Test, I'm getting the Error as No activity found to handle the Intent. I investigated and didn't find any clue of Launching the Library App.