benCoding.Android.Tools
benCoding.Android.Tools copied to clipboard
Service not starting after boot
Hey,
how could i get just the notification service running after restart of android? i cant get the service example to work regards goran
2nd this. Would love to be able to start my (titanium created) service on boot instead of the whole app.
The service example shows a "serviceName" property with a value of "com.mypackage.MyService". Where is com.mypackage.myservice created? When I create an android service per the titanium docs, it doesn't ever get assigned a "fully qualified name", so I'm not sure where this comes from?
after configuring the service ( http://docs.appcelerator.com/platform/latest/#!/guide/Android_Services ) build the app and then check the AndroidManifest.xml
in your build/android
folder. You will find something like this:
<service android:name="xx.xx.xx.BackgroundService"/>
Its basically your app bundle id + your service javascript filename (with upper character in the beginning) + the word "Service"
Example:
Bundle id: com.my.app
Service file: background.js
The service will be: com.my.app.BackgroundService
Hi, any help on that ? I can't get the service to launch. thanks