Wednesday, June 8, 2011

Re: [android-developers] In Android, how to get the keyevent of 'home Key' ?

2011/6/8 Rocky <rkjhaw1983@gmail.com>:
> Hi I did some thing on blog please check that -
>
> http://alltechsolution.wordpress.com/2011/04/14/how-to-controldisable-home-button/

This is horrible code. Do not request the HOME category unless *you
are a home screen*. SDK applications cannot call
clearPackagePreferredActivities() except for their own package.
onSaveInstanceState() does not need to manually handle EditText
widgets, as the built-in implementation handles those for you. And so
on.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.0 Programming Books: http://commonsware.com/books

--
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