On Fri, Jul 9, 2010 at 12:52 PM, Boozel boozelcl...@gmail.com wrote:
I have created a service that works great, it is launched from an
activity at the moment.
I'm looking to package it into a .jar file so that other people can
add the jar to then their projects and then run the service. Can
anyone tell me how i can launch this service from the app that it is
included in?
The same way they would if the code were in their own app: add an
entry for the service in their manifest and call startService() or
bindService().
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.1 Available!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en