[Android] Soft keyboard

Petr Vanek vanous at penguin.cz
Thu Nov 20 21:01:48 CET 2008


On Thu, 20 Nov 2008 20:41:13 +0100
Yann neveu <yann_moko at gabuzomeu.fr> (YN) wrote:

>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.

This sounds great! You can boot another distro from the uSD card  and
then mount the root rw:

	mount -t jffs2 /dev/mtdblock6 /media/cf

Petr






More information about the community mailing list