Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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