you can check code in PhoneWindowManager.java, you can disable launch Home function when your lock show same as keyguard show
On Fri, 2010-02-26 at 00:17 -0800, DroidBy wrote: > Hi Sean Hodges, > > I am happy that you give me a clue on this, however I am not able to > open the link that you post, it will redirect me to a blank webpage. > Can you repaste the link? or the main link that I can browse into the > sub-pages of this? > > Btw, Do you have any idea on the KeyGuardManager? Can I use that to > disable the HOME key? > > Thanks. :) > > > On Feb 26, 2:44 am, Sean Hodges <seanhodge...@googlemail.com> wrote: > > On Thu, Feb 25, 2010 at 1:39 AM, DroidBy <meikeng....@gmail.com> wrote: > > > > I am doing a security Lock system for my project. I am interested to > > > > > know how to disable the HOME key or handle it at framework layer, in > > > order to prevent user to by pass the security lock by presing HOME. I > > > know that I am not able to do it at android application layer, so > > > thinking to get some tips in handling it in framework layer. > > > > Have you taken a look at the existing projects out there? > > > > MyLock seems to achieve this using a lock mediator, to intercept a > > forbidden action and react to it: > > > > http://www.google.com/codesearch/p?hl=en#zvQ8rp58BUs/trunk/myLock/src... > > > > Can't say I've tried anything like this before though. > -- 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