android disable recent apps Key -


i have custom home app launcher

so have control on home key key , menu key need on tablet 10.1" ips dual core of artview have 4 button

-the back, 1 arrow -the home, 1 little house -the recent apps, 2 superposed box (and on press show recent app) -the menu, 3 little point

my probleme wan't custom think on 3rd button android systeme don't let me...

anyway that? , if have 4 button maybe don't use right keycode second one

i have found way this

no doc on oncreate of activity

getwindow().getdecorview().setsystemuivisibility(8); 

but 8 hidden flag completly disable system ui app permanly in full screen(be carefull if use bind power buton exit app :p)

and don't forget android.permission.expand_status_bar in manifest

don't k if work in every version of android try on 4.0 4.1 , it's work 3.x don't know.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -