<e05chami@gmail.com> wrote:
> I want that service start at phone boot up.and activity when the user click
> the icon.
> can i do this when the both in same project.
Yes. There is nothing magical about this.
> if so please tell me how.
Follow the instructions I wrote previously:
>> Step #1: Move the service and its related classes into the project
>> that has the activity
>>
>> Step #2: Move the <service> element (and any other required elements)
>> into the manifest of the project that has the activity
>>
>> Step #3: Delete the service-only project
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, One Low Price!
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment