I write now in a file if the user wants autostart, at booting the file
is read and i finish activity if autostart was not wanted!

thanks

On 8 Apr., 16:33, Mark Murphy <mmur...@commonsware.com> wrote:
> Manfred wrote:
> > But how should i do this, that a user can choose if my app does
> > autostart or not, if this must be hardcoded in manifest?
>
> Presumably, you are asking the user if you should do some work on boot,
> such as via a PreferenceScreen.
>
> In that case, have your receiver check the preference and, if the user
> did not request work be done at boot, simply exit.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Training:http://commonsware.com/training.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to