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:
Provider App Manifest:
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)
Provider App Manifest:
B4X:
AddServiceText(S1, <intent-filter>
<action android:name="provider.app.REQUEST" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>)
Attachments
Last edited: