moster67 Expert Licensed User Longtime User May 24, 2018 #1 Just wondering if the "Example of #Extends in Service" is still the best way to pass on information from a service-wrapper to B4A? In the past, I have been using Broadcasts to do this but I ran into some problems due to the enhanced restrictions (read implicit broadcasts) introduced with SDK 26 although it is resolvable by converting them into explicit ones.
Just wondering if the "Example of #Extends in Service" is still the best way to pass on information from a service-wrapper to B4A? In the past, I have been using Broadcasts to do this but I ran into some problems due to the enhanced restrictions (read implicit broadcasts) introduced with SDK 26 although it is resolvable by converting them into explicit ones.
DonManfred Expert Licensed User Longtime User May 24, 2018 #2 moster67 said: from a service-wrapper to B4A? Click to expand... hmm, why you are not raising an Event in the Listener? Maybe add a Listener at all...
moster67 said: from a service-wrapper to B4A? Click to expand... hmm, why you are not raising an Event in the Listener? Maybe add a Listener at all...
Erel B4X founder Staff member Licensed User Longtime User May 24, 2018 #3 Which service are you implementing?
moster67 Expert Licensed User Longtime User May 24, 2018 #4 Erel said: Which service are you implementing? Click to expand... Accessibility Services So far I have written customized (ad-hoc) java-code for these services but I wanted to write a new wrapper from scratch making it more flexible..
Erel said: Which service are you implementing? Click to expand... Accessibility Services So far I have written customized (ad-hoc) java-code for these services but I wanted to write a new wrapper from scratch making it more flexible..
Erel B4X founder Staff member Licensed User Longtime User May 24, 2018 #5 Using #Extends is the best option. Otherwise you need to have another service that is started from the first service and it it is more difficult to make it work reliably.
Using #Extends is the best option. Otherwise you need to have another service that is started from the first service and it it is more difficult to make it work reliably.
JordiCP Expert Licensed User Longtime User May 25, 2018 #6 Just in case you find the same problem, the service class name declaration in the manifest must be lower-case (lost some hours with this)
Just in case you find the same problem, the service class name declaration in the manifest must be lower-case (lost some hours with this)