KeyGuard customization

by Jean Baptiste Perriot » Thu, 03 Sep 2009 01:46:18 GMT


Sponsored Links
 Hello,
 Is there any way to customize the keyguard with an application ?
 I'm trying to make a small app that enables me to add content to the
keyguard and I'm looking for a way to make it with the framework.
The only way I found is to disable the keyguard, using a receiver
listening for a screen-off  and to show a custom view at the screen-on
with another receiver... Therefore I have to recode all the default
locking mechanism...
Is there another way ?

Regards

--~--~---------~--~----~------------~-------~--~----~



KeyGuard customization

by Dianne Hackborn » Thu, 03 Sep 2009 02:03:21 GMT


 Sorry, there is currently no way to.

Please be very careful about fiddling with the keyguard state -- it is
incredibly easy to get this wrong and open significant security holes in the
system.

On Wed, Sep 2, 2009 at 9:26 AM, Jean Baptiste Perriot





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

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


KeyGuard customization

by Jean Baptiste Perriot » Thu, 03 Sep 2009 16:59:56 GMT


 Too bad... :/

So how do you think flydroid did :
 http://www.flydroid.com/fly/ 

Do you think they recode a full system like I tried ?




--~--~---------~--~----~------------~-------~--~----~



KeyGuard customization

by Dianne Hackborn » Fri, 04 Sep 2009 00:04:02 GMT


 I think they did some pretty grody hacks, and I am pretty positive they
didn't customize the keyguard, but just completely turned it off and show
their own thing.  (I also don't know much about it, so this is all
speculation, but I would be deeply concerned about it introducing holes
where people can get by the lock screen by doing the right trick, or
situations where their lock screen is not being hidden when it should.  The
user interaction between the lock screen and the rest of the system is
incredibly complicated, and always a thorn in our side during development to
get completely right.  That is one of the reasons we haven't yet provided a
way for people to replace it.)

On Thu, Sep 3, 2009 at 1:58 AM, Jean Baptiste Perriot







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

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Two "Surface" class definitions?

Sorry, a stupid question:

I saw two "Surface" class definitions in Android source code.

One is in "Surface.h":
class Surface : public RefBase
...

The other is in "LayerBase.h", within definition of "LayerBaseClient":
class Surface : public BnSurface

Could anyone explain the difference and their purpose?

Thanks
Jasperr


--~--~---------~--~----~------------~-------~--~----~

2. Native client for android?

Hi,

I was wondering if "Native client": http://code.google.com/p/nativeclient/
was being considered for the android platform. The dalvik vm's
performance is hindering me relative the application I am writing (I
still think it is a cool vm though because I use it for other non-
performance apps). I have also seen mentioned a jit for dalvik as
well.

Native-client seems like a good fit for android because of its secured
design. Any thoughts?

Thanks.
--~--~---------~--~----~------------~-------~--~----~

3. Include/insert existing layout in an other layout ?

4. Include/insert existing layout in an other layout ?

5. How to remove an overlay from the map

6. AlertDialog.Buillder

7. Creating Context Menus