Thursday, August 1, 2013

Re: [android-developers] Re: android how to bring our application to foreground when it goes to background?

On Thu, Aug 1, 2013 at 1:51 AM, Nobu Games <dev.nobu.games@gmail.com> wrote:
> Not that I am in favor of such a behavior but I've seen apps with parental
> control feature doing that. They provide something like a controlled sandbox
> environment as an app (and not as a home screen replacement), so children
> cannot download stuff or do whatever they want with the device. Whenever you
> try to leave the app it pops up again. You can see that in action in
> Famigo.com's app.
>

There are heaps of tricks used by such apps, such as spamming the recent
app list with multiple instance of the app, so that you can't switch apps,
monitoring the ActivityManager log to re-start the app when it's closed,
and what not.

Now that 4.3 restricted profiles offer a clean way to do this, most of
this is not relevant and hopefully we will see and end to most
'ugly hacks'. Or maybe people will simply come up with new ones :)

--
--
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
---
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment