I want a UI like the Lock Code input dialog on S60 5th:


From my intuition, I think it can be implemented using exiting APIs. However I've not found out the solution. To avoid re-invent the wheel, I hope to get help from you. Any comments are highly appreciated.