Android Override multitasking-key

喜夏-厌秋 提交于 2019-12-08 07:39:28

问题


I have an older Android App with the old legacy menu button and do not plan to update this at the moment. On newer hardware - Samsung Galaxy S5 - the menu button is removed and replaced with a "Multitasking"-button. I know a longpress will show the menu - However, is there a way to override the new "Multitasking"-button on the the same way as one can do

@Override
public void onBackPressed() {
    //Stuff
}

回答1:


However, is there a way to override the new "Multitasking"-button on the the same way as one can do

Not at the level of an SDK app. A ROM mod or other firmware build could do what it wants with that key.



来源:https://stackoverflow.com/questions/24056578/android-override-multitasking-key

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!