GithubHelp home page GithubHelp logo

enable failed about adbkeyboard HOT 4 CLOSED

Jerrywang77 avatar Jerrywang77 commented on June 22, 2024
enable failed

from adbkeyboard.

Comments (4)

chrisgeli avatar chrisgeli commented on June 22, 2024 2

Thanks for the update @senzhk . Maybe the problem wasn't related to the API at all, but with the order of adb commands:

$ adb install ADBKeyboard.apk 
Performing Streamed Install
Success
$ adb shell ime list -s
com.android.inputmethod.latin/.LatinIME
com.volosyukivan/.WiFiInputMethod
$ adb shell ime enable com.android.adbkeyboard/.AdbIME
Input method com.android.adbkeyboard/.AdbIME: now enabled for user #0
$ adb shell ime list -s
com.android.inputmethod.latin/.LatinIME
com.volosyukivan/.WiFiInputMethod
com.android.adbkeyboard/.AdbIME

As you can see, even after installing the new apk, the ime list still didn't show the AdbIME entry. Only after ime enable it became visible in ime list and I was able to

$ adb shell ime set com.android.adbkeyboard/.AdbIME
Input method com.android.adbkeyboard/.AdbIME selected for user #0

Maybe this helps you as well, @Jerrywang77 .

from adbkeyboard.

chrisgeli avatar chrisgeli commented on June 22, 2024

Same issue here, with Android 13 (LineageOS).

I installed it via adb install ADBKeyboard.apk and then listed the available input methods:

$ adb shell ime list -s
com.android.inputmethod.latin/.LatinIME
com.volosyukivan/.WiFiInputMethod

i.e. the .AdbIME doesn't show up.

Unsurprisingly,

$ adb shell ime set com.android.adbkeyboard/.AdbIME
Unknown input method com.android.adbkeyboard/.AdbIME cannot be selected for user #0

the input method isn't available.

For now I've been working with com.volosyukivan/.WiFiInputMethod which should have all available features, but I'd like to see if com.android.adbkeyboard/.AdbIME is easier, which I think it should be as I don't have to talk to it via HTTP and don't need to forward ports.

from adbkeyboard.

senzhk avatar senzhk commented on June 22, 2024

not sure if it related to sdk version, but just uploaded a new apk with newer api.

adb shell ime list -s
 - com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
- com.android.adbkeyboard/.AdbIME

adb shell ime enable com.android.adbkeyboard/.AdbIME

adb shell ime set com.android.adbkeyboard/.AdbIME

from adbkeyboard.

senzhk avatar senzhk commented on June 22, 2024

add to README.

from adbkeyboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.