Android Question Unable to find explicit activity class

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
Hi!
So i am following this guide:

I already have the following items on my addtionals:
B4X:
#AdditionalJar: squareup\card-entry-internals-1.6.6
#AdditionalJar: squareup\aars\card-entry-1.6.6.aar

i have the following code in b4xpages
B4X:
Dim J As JavaObject
    J.initializeContext
    Dim jo As JavaObject
    jo.InitializeStatic("sqip.CardEntry")
    jo.RunMethod("startCardEntryActivity",Array(J))

Error is:
Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {b4a.example/sqip.internal.CardEntryActivity}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared <intent-filter>?

thanks!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…