The service starts only if i install the program with the phone conected by usb, but if i install the program with b4a bridge not and if i intall downloading the apk either.
In manifest are commented some lines i try with this commented and not.
Any idea?
Thanks.
I don't know what are you trying to accomplish, but once again, that service will not run unless the app runs at least once, you could create a widget instead, when the user adds the widget then the service will start, but if your intention is to hide an app and run it silently then it won't work.
How did you create a service in the beginning ?
A service can not run without being called.
didn't test it, but try making a small app that calls the service, then make it run at boot just to call the service and then kill it.
good luck.