[android-developers] Re: ICS Recent apps thumbnails

2012-02-02 Thread ocallaghan.do...@gmail.com
Overriding onCreateThumbnail in your activity will allow you to supply
a blank bitmap (or padlock etc) instead of a screenshot. Be sure to
return true to tell the system you've overridden the bitmap.

On Jan 20, 9:33 pm, tegbird tegb...@gmail.com wrote:
 Hi Daz,
 I am facing the same problem. Did you find any solution. It would be
 great help if you can provide any guidance.
 Thanks in advance.
 Tegbir

 On Dec 17 2011, 10:55 am, Daz kuffs2...@gmail.com wrote:







  Hi Diane,

  Sorry I should have been more specific but this was my 3rd attempt at
  asking the question, the previous 2 not making it past the New member
  moderation. I didn't want to waste too much time as I was unsure the post
  would appear.

  Basically it is exactly as Zsolt says. My app should not have its contents
  visible unless a valid password has been entered. I understand that
  physical access to the phone is required to see the thumbnails but the fact
  is that the data should not be accessible outside the app at all.

  As a user as well as a dev, I may pass my phone to another person to show a
  photo, web page etc and tablets in my household tend to be partly communal
  for looking up web sites etc. At present I have to ensure that the app has
  been swiped away from the recent apps list before I allow anybody else
  access.

  So back to the original question. Is there a way to prevent the screen grab
  or at the very least, an override I can use to hide the sensitive data
  manually before the screen grab is taken?

  Thanks for any help anybody can give.

  Daz

  p.s After my first post I am now being spammed. We saw your post on google
  groups, would you like to .  Any tips to prevent this?

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


[android-developers] Re: ICS Recent apps thumbnails

2012-01-20 Thread tegbird
Hi Daz,
I am facing the same problem. Did you find any solution. It would be
great help if you can provide any guidance.
Thanks in advance.
Tegbir

On Dec 17 2011, 10:55 am, Daz kuffs2...@gmail.com wrote:
 Hi Diane,

 Sorry I should have been more specific but this was my 3rd attempt at
 asking the question, the previous 2 not making it past the New member
 moderation. I didn't want to waste too much time as I was unsure the post
 would appear.

 Basically it is exactly as Zsolt says. My app should not have its contents
 visible unless a valid password has been entered. I understand that
 physical access to the phone is required to see the thumbnails but the fact
 is that the data should not be accessible outside the app at all.

 As a user as well as a dev, I may pass my phone to another person to show a
 photo, web page etc and tablets in my household tend to be partly communal
 for looking up web sites etc. At present I have to ensure that the app has
 been swiped away from the recent apps list before I allow anybody else
 access.

 So back to the original question. Is there a way to prevent the screen grab
 or at the very least, an override I can use to hide the sensitive data
 manually before the screen grab is taken?

 Thanks for any help anybody can give.

 Daz

 p.s After my first post I am now being spammed. We saw your post on google
 groups, would you like to .  Any tips to prevent this?

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


Re: [android-developers] Re: ICS Recent apps thumbnails

2012-01-20 Thread Kostya Vasilyev
This does it:

Window win = getWindow();
win.addFlags(WindowManager.LayoutParams.FLAG_SECURE);

-- K

21 января 2012 г. 1:33 пользователь tegbird tegb...@gmail.com написал:

 Hi Daz,
 I am facing the same problem. Did you find any solution. It would be
 great help if you can provide any guidance.
 Thanks in advance.
 Tegbir

 On Dec 17 2011, 10:55 am, Daz kuffs2...@gmail.com wrote:
  Hi Diane,
 
  Sorry I should have been more specific but this was my 3rd attempt at
  asking the question, the previous 2 not making it past the New member
  moderation. I didn't want to waste too much time as I was unsure the
 post
  would appear.
 
  Basically it is exactly as Zsolt says. My app should not have its
 contents
  visible unless a valid password has been entered. I understand that
  physical access to the phone is required to see the thumbnails but the
 fact
  is that the data should not be accessible outside the app at all.
 
  As a user as well as a dev, I may pass my phone to another person to
 show a
  photo, web page etc and tablets in my household tend to be partly
 communal
  for looking up web sites etc. At present I have to ensure that the app
 has
  been swiped away from the recent apps list before I allow anybody else
  access.
 
  So back to the original question. Is there a way to prevent the screen
 grab
  or at the very least, an override I can use to hide the sensitive data
  manually before the screen grab is taken?
 
  Thanks for any help anybody can give.
 
  Daz
 
  p.s After my first post I am now being spammed. We saw your post on
 google
  groups, would you like to .  Any tips to prevent this?

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


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

[android-developers] Re: ICS Recent apps thumbnails

2011-12-17 Thread harism
Hi,

I'm not 100% sure are we talking about the same functionality as I've
never seen Honeycomb nor ICS in action but there's the oldish
Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS flag and/or activity
android:excludeFromRecents=true/false .../ AndroidManifest.xml
parameter I never understood properly. Maybe it did the trick for you?

--
H

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


[android-developers] Re: ICS Recent apps thumbnails

2011-12-16 Thread Zsolt Vasvari
Diane,  no offense, but please do see beyond the theoretical world of
Google.  If you want Android to be taken seriously as a productivity
platform,  these concerns shouldn't be summarily dismissed.

This is an absolutely valid concern for my app.  I have password
protection on my app so uses can control access to their financial
data, without necessarily locking their phones completely.   The
thumbnail feature defeats the password protection.

There needs to be a way of providing an alternate bitmap or a way to
force to show the launcher icon.



On Dec 17, 7:44 am, Dianne Hackborn hack...@android.com wrote:
 What do you mean the contents are being leaked outside of your app?
  Outside of where?  The recents can't be brought up when the device is
 locked.  Applications can't access the thumbnails.





 On Fri, Dec 16, 2011 at 7:48 AM, Daz kuffs2...@gmail.com wrote:
  Is there any way to disable the thumbnail (or supply an alternate
  thumbnail) for ICS   honeycomb recent apps screen?

  Sensitive information is being leaked from my app by this feature as the
  contents of the screen are readable from outside the app.

  I even tried blanking the screen in the OnPause override but it made no
  difference. The thumbnail must be generated before that method is called.

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

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

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