3

I tried creating an Image with a JellyBean's LatinIME.apk, replacing ICS's LatinIME.apk, in system apps folder of ICS ROM, but it crashed. But when I put it in preInstalledApk folder, it got compiled and ran successfully.

But it needs to be selected from "Language and Input" in Settings and also both the keyboards have same name.

What I want is to install JellyBean's LatinIME.apk during compile time of Image and also be the default input method. I don't mind if its not a system app. And I will change the ICS's LatinIME.apk-Keyboard name from the code, so that user can selected any of them without scratching their heads.

2

I literally had to scavenge the code up and down to get to the solution. A xml called defaults.xml contains the default input method node. That needed to be changed to the package name of the JellyBean's LatinIME. This is yet to be tested; will let you all know if it runs okay.


Edit: This worked. Please go ahead and get cracking.

  • What was the outcome? Can you update this answer? – rbrito Dec 19 '15 at 21:17
  • Yes, this worked. – Harsh Vardhan Dec 21 '15 at 6:41
  • please update the answer, then. It will be better for future users looking into the questions. – rbrito Dec 24 '15 at 0:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.