Skip to content Skip to sidebar Skip to footer

Start Activity From Another Package - Issue

I downloaded library project from github and imported it into my app project.The problem is that i want to start activity from this library in my main app class.I tried many ways a

Solution 1:

As the document, I think the package name is problem. Can you try this?

intent.setComponent(new ComponentName( "com.cunoraz.pickImages", "com.cunoraz.pickImages.MainActivity"));"

And no need to declare this activity in AndroidManifest.xml

Post a Comment for "Start Activity From Another Package - Issue"