Guest beyondilove Posted September 20, 2010 Report Posted September 20, 2010 I am a Chinese with poor English, wish you can understand what i am saying :lol: When using some other Android devices, there will be a recent app dialog after long pressing the home key.And i like this very much, because i can swith between apps by this.But Pulse does no have a dependent home key, and there will not be a recent app dialog for me.When using 1.5 ROM, I modified /system/framework/android.policy.jar, added some code copied from some other android.policy.jar, and made the long pressing red end call key to be long pressing home key.It works perfectly!Now i am enjoying FLB-MOD 2.1 ROM(great thanks to flibblesan!), i want to do the same thing only find that the source code of android.policy.jar has a diffirent structure from that in 1.5. The changes HUAWEI made are diffirent, too.I don not know how to modiy it to make the long pressing red end call key to be long pressing home key to get the recent app dialog. Two ways but both failed: 1 replace the android.policy.jar with a standard one after compiling the modified source code.Pulse will not boot normally. 2 change the key mapping file surf_keypad.kl.That is change the end call key to home key completely.I can not hang up then! So any other idea, my friends??? Thanks very much!!!
Guest Sh4d0w940 Posted September 20, 2010 Report Posted September 20, 2010 I am a Chinese with poor English, wish you can understand what i am saying :lol: When using some other Android devices, there will be a recent app dialog after long pressing the home key.And i like this very much, because i can swith between apps by this.But Pulse does no have a dependent home key, and there will not be a recent app dialog for me.When using 1.5 ROM, I modified /system/framework/android.policy.jar, added some code copied from some other android.policy.jar, and made the long pressing red end call key to be long pressing home key.It works perfectly!Now i am enjoying FLB-MOD 2.1 ROM(great thanks to flibblesan!), i want to do the same thing only find that the source code of android.policy.jar has a diffirent structure from that in 1.5. The changes HUAWEI made are diffirent, too.I don not know how to modiy it to make the long pressing red end call key to be long pressing home key to get the recent app dialog. Two ways but both failed: 1 replace the android.policy.jar with a standard one after compiling the modified source code.Pulse will not boot normally. 2 change the key mapping file surf_keypad.kl.That is change the end call key to home key completely.I can not hang up then! So any other idea, my friends??? Thanks very much!!! Hold the power button and tap recent apps :) Sh4d0w940
Guest TaiwanCHT8k Posted September 20, 2010 Report Posted September 20, 2010 (edited) http://android.modaco.com/content/t-mobile...rdware-buttons/ key 249 對焦/focus key 212 相機/camera 挑其中一個改成HOME,長按就有了 #Headphone key 226 HEADSETHOOK WAKE #Power key 116 POWER WAKE #V+ key 115 VOLUME_UP WAKE #V- key 114 VOLUME_DOWN WAKE #------------------------------------------------------- #Green key 61 CALL WAKE_DROPPED #Red key 62 ENDCALL WAKE_DROPPED #------------------------------------------------------- #Back/Home-L key 102 HOME WAKE #Back/Home-S key 158 BACK WAKE #------------------------------------------------------- #Menu key 229 MENU WAKE key 59 MENU WAKE key 139 MENU WAKE #------------------------------------------------------- #Click key 232 DPAD_CENTER WAKE_DROPPED #Down key 108 DPAD_DOWN WAKE_DROPPED #Up key 103 DPAD_UP WAKE_DROPPED #Left key 105 DPAD_LEFT WAKE_DROPPED #Right key 106 DPAD_RIGHT WAKE_DROPPED #------------------------------------------------------- #Focus key 249 BACK WAKE_DROPPED #Camera key 212 HOME WAKE #Unknown key 250 BACKLIGHT WAKE #------------------------------------------------------- #SystemKeys key 212 SLASH key 213 DEL WAKE_DROPPED key 355 DEL WAKE_DROPPED key 230 HOME WAKE key 60 SOFT_RIGHT WAKE key 228 POUND key 227 STAR key 231 CALL WAKE_DROPPED[/codebox] Edited September 21, 2010 by TaiwanCHT8k
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now