Sunday, February 5, 2012

Re: [android-developers] please help to replace lock screen theme

You can't directly do this.

You can only "replace" the 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 <dhavalkvaria@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+unsubscribe@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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment