You can't directly do this. You can only "replace" the lock screen.
http://thinkandroid.wordpress.com/2010/01/24/handling-screen-off-and-screen-on-intents/ http://stackoverflow.com/questions/6737760/android-lockscreen-tutorial http://stackoverflow.com/questions/5529608/android-how-to-develop-custom-lock-screen Basically the answer is: don't do this. If you do this, your app is basically, violating a security hole in the android system. The behavior that older "lock screen" apps use is not good practice, and will be (if it has not already been) removed from the API so your app will cease to work. Perhaps you think "but my app is special." Answer: no, it's not. Perhaps you think "but only I will ever use my app, so I don't mind if it breaks good coding practices, might be removed from the market for violating security practices (highly unlikely..), and uses now considered deprecated pieces of the API." Well, then perhaps the answer is to go right ahead. In general if you're wanting to modify the behavior of the *system*, you can't do it with an app. kris On Sun, Feb 5, 2012 at 3:06 AM, Dhaval Varia <dhavalkva...@gmail.com> wrote: > Any way to replace my custom theme to screen lock theme? > -- > Thanks & Best Regards. > > ---------------------------------------------------------------------------------------- > Dhaval varia > (9924343883) > > -- > 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 -- 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