Android Question Need help to configure manifest, to intent an external package activity

abilio486software

Member
Licensed User
Hi,

I want to send text to an external activity (SupportActivity), in an external package (net.micropack.myposbluetooth)

I'm using this code but I get an error:

"android.content.ActivityNotFoundException: Unable to find explicit activity class {net.micropack.myposbluetooth/net.micropack.myposbluetooth.SupportActivity}; have you declared this activity in your AndroidManifest.xml?!"

The source code is:

[
Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_MAIN,"")
Intent1.SetComponent("net.micropack.myposbluetooth/.SupportActivity")
mytext = "Ola abilio\n"
mytext = mytext & "Ola abilio 2\n"
mytext = mytext & "Ola abilio 3\n"

Intent1.PutExtra("Action","printCombo")
Intent1.PutExtra("text",mytext )
Intent1.PutExtra("Amount","10.00")
StartActivity(Intent1)
]

I'm calling this from my Activity "ActivityFaturar"


Could you help me to configure the manifest for this intent call?

Kind regards,
Abilio
 

abilio486software

Member
Licensed User
Thanks, sorry about this code inclusion outside rules. It will not repeat :)
The net.micropack.myposbluetooth is an external app, not mine.
Now it's working with the manifest and the correct Activity name.
Now It's resolved!
Thanks
 
Upvote 0
Top