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. How to login to the root of Android Dev Phone 1?

Run "su" in your shell, and you'll be running a root shell.

JBQ








-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

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

2. GWT and the Android Browser

Hey guys,

Little stream of conciseness here, sorry if this is a bit long/
disjoined.

I was wondering if anyone had done any work with GWT and the Android
Browser. While I'm getting basic functionality to work, the general
speed, responsiveness and user experience seem very sluggish and,
well, sorta bad. Another issue I'm having is locating a group to go to
for support, examples and help. While I'm interested in GWT with
Android, it seems that Android Developers Group is really only
interested in native apps. Where to go for Browser specific help?

Anyways, some of the particulars I've run into:

What group to go to?

1. Issues Controlling the viewport: No matter what I do, I can't seem
to get proper control of the viewport. Editing the meta data, overflow
CSS properties, insuring that the window's objects are small, etc. I'm
continually getting white space borders and stuff like that. This
causes weird finger behavior, especially allowing the user to browse
into the white space.

2. HTML5/Gears Wrappers: I was wondering if the Gears API has an
implementation to support HTML5 storage/cache issues in case of a non-
gears enabled client. If not, is there a library anywhere that
supports the encapsulation for GWT?

3. MouseListeners: The OS seems to swallow up the MouseUp event in
order to do detection of scroll/drag type stuff. I guess I understand
why it does it for the drag type thing, but it never fires MouseUp
even after the drag is done. Ehh... fair enough, I guess.

4. Focus Panel ClickListeners: When I click a focus panel, a orange
circle shows up in the upper/left corner with what seems like a cursor
in it? (http://i243.photobucket.com/albums/ff2/gte619n/
selectBubble.png) Also seems like a non-trivial delay between the
press and then a following action. Makes the app seem especially
sluggish.

5. Image Loading/Display: Seems really slow. Even when doing
background repositioning to flip sprites. Additionally, the images
don't seem to load in any fixed order and method. Also seems to hang
when loading images (http://i243.photobucket.com/albums/ff2/gte619n/
selectBubble.png) I've attempted to get around this by doing Prefetch
and such, but nothing seems to work. Seems like it needs to talk
itself into refreshing the screen after loading finishes (even in
localhost in the emulator)

6. Visibility hide/show: Very sluggish in general.

7. Scroll inside divs: Flat out doesn't support this. I guess the
Cupcake release, bringing the browser up to Nov 2008 Webkit, should
fix this but I still don't have any visibility into that release.

Has anyone compiled some best practices to use when building an
Application for Android? Maybe even some widgets or JSNI breakouts to
better manage the behavior and performance of the app?

Thanks!

Evan
--~--~---------~--~----~------------~-------~--~----~

3. Handing incoming calls

4. Configuring Kernel

5. Some very confusing ioctl definitions

6. Bind Service between different APKs

7. Removing the default interpolator for xml based animation effects for views