EnriqueGonzalez Expert Licensed User Longtime User May 7, 2024 #1 Hi! So i am following this guide: Build on Android: In-App Payments SDK Build a secure payment client for Android devices with the In-App Payments SDK. developer.squareup.com I already have the following items on my addtionals: B4X: Copy #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: Copy 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!
Hi! So i am following this guide: Build on Android: In-App Payments SDK Build a secure payment client for Android devices with the In-App Payments SDK. developer.squareup.com I already have the following items on my addtionals: B4X: Copy #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: Copy 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!
Solution DonManfred May 7, 2024 EnriqueGonzalez said: The activity is in the aar file Click to expand... Yes. But you MUST implement it in your manifest. It doews not happen automatically.
EnriqueGonzalez said: The activity is in the aar file Click to expand... Yes. But you MUST implement it in your manifest. It doews not happen automatically.
DonManfred Expert Licensed User Longtime User May 7, 2024 #2 EnriqueGonzalez said: have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared <intent-filter>? Click to expand... I´ll repeat this question Upvote 0
EnriqueGonzalez said: have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared <intent-filter>? Click to expand... I´ll repeat this question
EnriqueGonzalez Expert Licensed User Longtime User May 7, 2024 #3 DonManfred said: I´ll repeat this question Click to expand... The activity is in the aar file, I wouldn't know how to declare it in the manifest so It can be taken. Do you know ? This is the activity inside the aar: sqip.internal.CardEntryActivity Upvote 0
DonManfred said: I´ll repeat this question Click to expand... The activity is in the aar file, I wouldn't know how to declare it in the manifest so It can be taken. Do you know ? This is the activity inside the aar: sqip.internal.CardEntryActivity
DonManfred Expert Licensed User Longtime User May 7, 2024 #4 EnriqueGonzalez said: The activity is in the aar file Click to expand... Yes. But you MUST implement it in your manifest. It doews not happen automatically. Upvote 1 Solution
EnriqueGonzalez said: The activity is in the aar file Click to expand... Yes. But you MUST implement it in your manifest. It doews not happen automatically.
Erel B4X founder Staff member Licensed User Longtime User May 7, 2024 #5 If you open the AAR file (=zip) you will find an AndroidManifest.xml file. It will probably include the declaration that you need to add to your manifest file. Upvote 0
If you open the AAR file (=zip) you will find an AndroidManifest.xml file. It will probably include the declaration that you need to add to your manifest file.