samedi 9 mai 2015

Creating custom Android keyboard from well-known link; compiles, installs, but no option for this keyboard shows on device

I followed the instructions in this link using Eclipse Luna 2 (4.4.2).

The app compiled, and the apk was installed on my phone, but since it has no activity (which is by design) it can't be run. It's supposed to cause a new keyboard option to appear in the device's Settings | Language and Input, but nooooooooooo.

All I did was cut and paste file names and contents, so they're as shown at the link. Here's the project structure, the only item lacking in the link above:

enter image description here

enter image description here

Here's console output. All apparently went as it should have:

[2015-05-09 14:58:58 - SimpleKeyboard] ------------------------------
[2015-05-09 14:58:58 - SimpleKeyboard] Android Launch!
[2015-05-09 14:58:58 - SimpleKeyboard] adb is running normally.
[2015-05-09 14:58:58 - SimpleKeyboard] No Launcher activity found!
[2015-05-09 14:58:58 - SimpleKeyboard] The launch will only sync the application package on the device!
[2015-05-09 14:58:58 - SimpleKeyboard] Performing sync
[2015-05-09 14:58:58 - SimpleKeyboard] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2015-05-09 14:59:08 - SimpleKeyboard] Uploading SimpleKeyboard.apk onto device 'TA22807EL2'
[2015-05-09 14:59:08 - SimpleKeyboard] Installing SimpleKeyboard.apk...
[2015-05-09 14:59:11 - SimpleKeyboard] Success!
[2015-05-09 14:59:12 - SimpleKeyboard] \SimpleKeyboard\bin\SimpleKeyboard.apk installed on device
[2015-05-09 14:59:12 - SimpleKeyboard] Done!

But here's device screen, so it didn't QUITE go as it should have:

enter image description here

If you can spot an obvious error or omission, PLEASE let me know.

Aucun commentaire:

Enregistrer un commentaire