Friday, January 20, 2012

[android-developers] Avoid android taking screenshot/snapshot of activity while going in background

In 3.0+ and 4.0+,
When user switches applications
Android takes a screenshot of the current activity before moving the
application in background. If you press the task-switcher button, you
can see the snapshot of your app.
I want to avoid that android takes snapshot of my activity as it has
sensitive data in it.
I have already tried flag "excludeFromRecents" but it doesnot work.

Any help is appreciated.

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate