http://stackoverflow.com/questions/1056570/how-to-autostart-an-android-application



2011/2/16 Kevin R. Octavian <[email protected]>

> how to make an app can be autostartup?
>
> On 2/16/11, San Zhang <[email protected]> wrote:
> > Thanks Marcin Orlowski. Your answer is very useful for me.
> >
> > 2011/2/16 Marcin Orlowski <[email protected]>
> >
> >>  On 16 February 2011 13:53, San Zhang <[email protected]> wrote:
> >> > My app can be autostarted when system completed boot. However, this
> >> feature
> >> > would be disabled if user intall the app on SD card. I want to disable
> >> > AUTOSTART option in settings screen  in my own code if it may be
> >> > detected
> >> > whether the app is installed on SD card. Is it possible? If answer
> yes,
> >> how
> >> > to do it?
> >>
> >> Use PackageManager to read ApplicationInfo and check
> >> FLAG_EXTERNAL_STORAGE flag. But I'd rather show popup saying
> >> "Autostart does not work if app is on SD card" instead of silently
> >> graying option out. Most users won't get why it "does not work"
> >>
> >> --
> >> Regards,
> >> Marcin
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Android Developers" group.
> >> To post to this group, send email to
> [email protected]
> >> To unsubscribe from this group, send email to
> >> [email protected]
> >> For more options, visit this group at
> >> http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
> --
> Mobile Developer
> (Android,iphone,Blackberry,J2ME,brew,symbian)
> mobile :
> 085722945257
> email :
> [email protected]
> [email protected]
> blog :
> kevinroctavian.wordpress.com
>
> --
>  You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to