All Projects → macacajs → android-unicode

macacajs / android-unicode

Licence: MIT license
Android unicode UTF-7 input apk

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to android-unicode

confusables
A nodejs library for removing confusable unicode characters from strings.
Stars: ✭ 50 (+117.39%)
Mutual labels:  unicode
ruby-homograph-detector
🕵️‍♀️🕵️‍♂️ Ruby gem for determining whether a given URL is considered an IDN homograph attack
Stars: ✭ 29 (+26.09%)
Mutual labels:  unicode
CJK-character-count
Program that counts the amount of CJK characters based on Unicode ranges and Chinese encoding standards 字体汉字计数软件
Stars: ✭ 195 (+747.83%)
Mutual labels:  unicode
sample-nodejs
Macaca test sample for Node.js
Stars: ✭ 44 (+91.3%)
Mutual labels:  macaca
glyphhanger
Your web font utility belt. It can subset web fonts. It can find unicode-ranges for you automatically. It makes julienne fries.
Stars: ✭ 422 (+1734.78%)
Mutual labels:  unicode
nodecv-server
nodecv server side
Stars: ✭ 16 (-30.43%)
Mutual labels:  macaca
unicode-9.0.0
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v9.0.0’s categories, scripts, blocks, bidi, and other properties.
Stars: ✭ 16 (-30.43%)
Mutual labels:  unicode
nepali utils
A pure dart package with collection of Nepali Utilities like Date converter, Date formatter, DateTime, Nepali Numbers, Nepali Unicode, Nepali Moments and many more.
Stars: ✭ 22 (-4.35%)
Mutual labels:  unicode
emoji-db
A database of Apple-supported emojis in JSON format. Used by my Alfred emoji workflow.
Stars: ✭ 32 (+39.13%)
Mutual labels:  unicode
hyphenation
Text hyphenation for Rust
Stars: ✭ 43 (+86.96%)
Mutual labels:  unicode
unicode-lookup
The web's best unicode lookup tool!
Stars: ✭ 49 (+113.04%)
Mutual labels:  unicode
unicode display width
Displayed width of UTF-8 strings in Modern C++
Stars: ✭ 30 (+30.43%)
Mutual labels:  unicode
unicode
A Flask-Based Web-App for Exploring Unicode
Stars: ✭ 12 (-47.83%)
Mutual labels:  unicode
iosHookViewId
A solution for ios hook view id(给iOS应用自动生成控件id)
Stars: ✭ 44 (+91.3%)
Mutual labels:  macaca
sample-java
Macaca test sample for Java
Stars: ✭ 23 (+0%)
Mutual labels:  macaca
ocreval
Update of the ISRI Analytic Tools for OCR Evaluation with UTF-8 support
Stars: ✭ 48 (+108.7%)
Mutual labels:  unicode
unigem-objective-c
Unicode Gems, a Mac app, an iOS app, and an iOS keyboard for letter-like unicode.
Stars: ✭ 22 (-4.35%)
Mutual labels:  unicode
unicodia
Encyclopedia of Unicode characters
Stars: ✭ 17 (-26.09%)
Mutual labels:  unicode
utf8-validator
UTF-8 Validator
Stars: ✭ 18 (-21.74%)
Mutual labels:  unicode
ara
ع Command line tool that displays Arabic text in terminal.
Stars: ✭ 27 (+17.39%)
Mutual labels:  unicode

android-unicode

NPM version build status Test coverage node version npm download

Android unicode UTF-7 input apk

Android Unicode Input Service Node.js wrapper.

Installment

$ npm i android-unicode --save

Use in ADB shell

Ref: https://github.com/senzhk/ADBKeyBoard

  1. Sending text input
$ adb shell am broadcast -a ADB_INPUT_TEXT --es msg '你好Hello'
$ adb shell am broadcast -a ADB_INPUT_TEXT --es format base64 --es msg 'K1RpMWxody1jbg=='

K1RpMWxody1jbg== is encode with UTF-7 and Base64

Use python code like this.

import base64

s = u'你好''
print base64.b64encode(s.encode("utf-7"))
  1. Sending keyevent code (67 = KEYCODE_DEL)
$ adb shell am broadcast -a ADB_INPUT_CODE --ei code 67
# repeat 10 times
$ adb shell am broadcast -a ADB_INPUT_CODE --ei code 67 --ei repeat 10
  1. Sending editor action (2 = IME_ACTION_GO)
$ adb shell am broadcast -a ADB_EDITOR_CODE --ei code 2
  1. Sending unicode characters
# To send 😸 Cat
$ adb shell am broadcast -a ADB_INPUT_CHARS --eia chars '128568,32,67,97,116'

Usage

Switch to Utf7ImeService

$ adb shell ime set macaca.unicode.ime/.Utf7ImeService

Switch to system default Service

$ adb shell ime set com.android.inputmethod.pinyin/.PinyinIME

List available Service

$ adb shell ime list -a

License

The MIT License (MIT)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].