Android Overriding home key -
as question suggests know can't override home key event if emulator of android 2.2 see application car home has overridden of keys home, end call.
now, point how have done it? tried peep source code of app surprise not available or unable find it, don't think later case.
i agree @romain guy
you can't override behaviour of home button.
what car home
app does: has defined launcher. can define yours launcher, , notified when home screen launched.
check out : intent.html#category_launcher
please note doesn't mean app/activity notified when home button pressed can override behaviour of it, notified when system launch home screen. both different things. in type of notification, android has sent app (which executing) frozen state, , won't have control on what's happening.
this far know. guess @romain guy
may correct me if wrong @ place.
Comments
Post a Comment