Android Lock Screen API Design

I want a better lock screen on my Android phone.

Moreover, I don't really want Google or HTC to design one. I really want a good API that allows others to design one. This is much the same design concept behind intents, widgets, etc; build the framework right, rather than building one particular implementation.

Which brings up the question: What would be a good lock screen framework for android?

Background

I made a previous Lock Screen Rundown. Since then I've also come across:

It is also important when thinking about this to know what Google has said about the current API.

Desiderata

Use Cases

There appear to be two classes of use cases for the lock screen: standard and secure. By secure I'm referring to the 'pattern lock' that tries to keep prying eyes out of the phone.

Design Ideas

I'm going to start with phone security ideas. The 'unlock' swipe pattern, either simple for a keylock, or complex for something more secure, is going to be an important part of the configurability of the lock screen. This means that it needs to be configurable too. BUT, it also has stronger security requirements. Hence my initial plan would be to separate these: have a plugable 'lock' widget and a separate pluggable information screen. The information app can be complex. The lock widget is significantly more tightly constrained.

Information screen

I'd imagine that the information screen is like a home screen. It can do whatever it likes, but all intents sent from this screen are ignored. There are two ways that this app can be dismissed:

This ends up looking much like the current lock-screen apps, but cannot exit itself. If it does exit it could be restarted, or their could be a fallback.s

Lock Widget

As noted above, the lock widget is significantly constrained.

Implementation Issues

blog comments powered by Disqus