android imf框架,GitHub - android-enhancement/android-imf-ext: IMF extension for Android OS

Project

IMF extension for Android OS

1. Sumamry

This project’s goal is to enhance Android IMF so that users have the comfortable input environment on it.

If you want to know this project further, please visit the wiki in github.

http://wiki.github.com/android-enhancement/android-imf-ext/

2.Files

README

readme written in English.

doc

There are a few documents in this directory.

images

This is an Android OS system image, system.img, that contains my proposal. You can try my proposal using the emulator in Android SDK 1.6 or later.

android-ws

This is a part of android source code that I modified, not a full part of it.

patch

There are three differential files. I created them using unix diff command as follow:

diff -cr original modified

samples

A sample application, PinyinIME, with the custom installer.

PinyinIME is a Chinese IME included in android source branch.

script

This is a script that merge my modification to original android source with diff files.

3. Getting started

causions: This project will consume 188MB on your hard drive.

1) Download this project from the github.

$ git clone git://github.com/android-enhancement/android-imf-ext.git

2) Copy the system.img.

$ cd your_android_sdk_dir/platform/android-2.1/images

$ cp system.img system.img.org // backup your system.img

$ cp somewhere/android-imf-ext/images/system.img .

3) Run your emulator.

$ cd your_android_sdk_dir/tools

$ ./emulator -avd your_device

4) Install IMEs.

$ cd your_android_sdk_dir/tools

$ ./adb install somewhere/android-imf-ext/demo/ime/PinyinIME.apk

$ ./adb install somewhere/android-imf-ext/demo/ime/OpenWnn.apk

5) Set them truested

Please set installed IMEs trusted in Settings/Language & keyboard dialog.

6) Install a demo application.

$ ./adb install somewhere/android-imf-ext/demo/ime/IMFDemo.apk

4. Reference

[1]How IM is dangerous? [Was: Re: How to set default IME in the code]

http://groups.google.com/group/android-platform/browse_thread/thread/beaaef099e7e9256/7efd6b0aa7bf632e#7efd6b0aa7bf632e

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值