The first code was OK, since android:targetSdkVersion="26"
Error: Service Intent must be explicit...
With the others there is no reaction in the Provider APP
Requester App:
B4X:
Dim in As Intent
in.Initialize("provider.app.REQUEST","")
'in.SetComponent("provider.app/.S1")
in.AddCategory("android.intent.category.DEFAULT")
in.PutExtra("test","True")
StartService(in)
This code was OK, since android:targetSdkVersion="26":
B4X:
Dim in As Intent
in.Initialize("provider.app.REQUEST","")
'in.SetComponent("provider.app/.S1")
in.AddCategory("android.intent.category.DEFAULT")
in.PutExtra("test","True")
StartService(in)
targetSdkVersion="26 = OK
targetSdkVersion="26: Error: Service Intent must be explicit...
Thanks Erel, you're the best - it works perfectly again.
B4X:
Dim in As Intent
in.Initialize("provider.app.REQUEST","")
in.SetPackage("provider.app")
in.AddCategory("android.intent.category.DEFAULT")
in.PutExtra("test","True")
StartService(in)