[Android] Soft keyboard

Yann neveu yann_moko at gabuzomeu.fr
Thu Nov 20 20:41:13 CET 2008


Le jeudi 20 novembre 2008 04:49:36 Walter Chang, vous avez écrit :
> nope.  lets hope the next release from sean fixes that.
>
I've modified and compiled the Phone application ton answer by pressing the 
power (menu) button.
It seems to work in emulator but i don't know how to transfer it to FR since 
the rootfs is read-only:

yann at trognon:~/Documents/neo/mydroid$ /opt/android-sdk/tools/adb install 
./out/target/product/generic/system/app/Phone.apk
466 KB/s (733077 bytes in 1.534s)                                                                                         
        pkg: /data/local/tmp/Phone.apk                                                                                    
Failure [INSTALL_FAILED_ALREADY_EXISTS]

yann at trognon:~/Documents/neo/mydroid$ /opt/android-sdk/tools/adb install  -r 
./out/target/product/generic/system/app/Phone.apk
465 KB/s (733077 bytes in 1.539s)
        pkg: /data/local/tmp/Phone.apk
Failure [INSTALL_FAILED_REPLACE_COULDNT_DELETE]


Does anybody know if i can make the rootfs rw to allow change system apps?

Thanks

Yann

Ho and the modification i've made is in 
"packages/apps/Phone/src/com/android/phone/CallNotifier.java".
I've just modified line 969:
} else if (keyCode == KeyEvent.KEYCODE_CALL || keyCode == 
KeyEvent.KEYCODE_MENU ) {
in public boolean onKeyUp(int keyCode, KeyEvent event) method ...
Really quick and dirty  but just a test to know if i'm able to personnalize 
it.






More information about the community mailing list