Hi, I would like to implement a new policy as like Phone to handle my new application? As I would like to make use of this policy to handle the home key. But I am not sure how should I modify the PolicyConfig.mk file in order to take in my new policy. Anyone has any idea?
Rgds, DroidBy On Mar 1, 10:11 am, DroidBy <meikeng....@gmail.com> wrote: > Hi ZhangJun, > > Thanks for yor input. But I do not understand how to make my "lock" > shows as like "keyguard" show. Can you provide me more details? > > I have take a look into the PhoneWindowManager.java code, however I > meed more time to digest it. How should I make use of this > PhoneWindowManager.java? Can you highlight to me more, like which API > to be used? Should I create another new framework for my application > like the PhoneWIndowManager? > > Appreciate if you cound share me more. > > Thanks. > DroidBy > > On Feb 26, 4:50 pm, zhangjun <jun.zh...@borqs.com> wrote: > > > > > 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.- Hide quoted > > > > text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- 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