Android
最近在用Mediaplayer播放音乐的时候,Logcat总是打印如下信息: GC_CONCURRENT freed 118K, 42% free 3840K/6599K, external 2085K/2566K, paused 2ms+2ms GC_CONCURRENT freed 224K, 38% free 4708K/7559K, external 2085K/2566K, paused 2ms+4ms GC_CONCURRENT freed 283K, 34% free 5788K/8711K, external 2085K/2566K, paused 2ms+3ms GC_CONCURRENT freed
…
Android
2012-12-14
liuwei@IT:~$ adb shell / # cd /system/usr/keylayout /system/usr/keylayout # ls AVRCP.kl Generic.kl Vendor_045e_Product_028e.kl Vendor_046d_Product_c216.kl Vendor_046d_Product_c294.kl Vendor_046d_Product_c299.kl Vendor_046d_Product_c532.kl Vendor_054c_Product_0268.kl Vendor_05ac_Product_0239.kl Vendor_22b8_Product_093d.kl gpio-keys.kl qwerty.kl s3c-keypad.kl /system/usr/keylayout # vi s3c-keypad.kl 修改相应的映射的值就好了。 key 42 VOLUME_UP WAKE key 58 VOLUME_DOWN WAKE 参考: http://xiaoxia.de/2011/06/change-key-layout-on-android/ http://source.android.com/tech/input/key-layout-files.html
…