How to start my own services by using intent from another package (B4A project)

bluedude

Well-Known Member
Licensed User
Longtime User
Hi,

It seems like a rather stupid question but I want to start one of my services created by B4A from another project created with B4A.

I use this right now:

Dim i As Intent
i.Initialize("", "")
i.SetComponent("<package>/.testservice")
StartService(i)

Does not seem to work because the service does not start (have a toastmessage when it starts).
 

bluedude

Well-Known Member
Licensed User
Longtime User
My mistake, the name was changed. Now I can call it but it says "without permission not exported from uid 10100.

This happens in the calling APK.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…