You are welcome to make it be the home screen. There's the Home sample
in the SDK that demonstrates the <intent-filter> you need on your
activity:

<intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.HOME"/>
                <category android:name="android.intent.category.DEFAULT" />
</intent-filter>

Then, BACK and HOME lead to your app.

However:

- The user may be able to get to other things, depending on the
device, by means such as the notification drawer

- The user can simply reboot your phone in safe mode to nuke your app



On Wed, Mar 6, 2013 at 6:36 PM, Tobiah <[email protected]> wrote:
> I am going to hand out Android phones with an app on it
> that is geared to a large event.  I'd like to launch the app,
> and cause the user to be unable to quit it.  I don't want
> them messing around with other software on the phone.  We did
> this on our Blackberry app by making the program bring itself
> to the foreground every two seconds.  It was cheesy, but worked.
> If the user quit the app, it would come right back up.
>
> Any ideas as to how to get an Android program to always be
> the focused program?
>
> Thanks!
>
> Tobiah
>
> --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
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 4.6 Available!

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to