How to build the Latin IME input method?

1,534 views
Skip to first unread message

Vedant Roy

unread,
Aug 27, 2018, 12:10:02 PM8/27/18
to Android Building
I am trying to build the Latin IME input method. 


Are there any guides on how to build Android source code. Any tips at all would be helpful. For instance - what are the tools I need, what files are actually necessary for the build etc. 

Bhavdip Bhalodia

unread,
Sep 19, 2018, 11:20:53 AM9/19/18
to Android Building
I am also trying to develop LatinIME but there is less understanding to develop it.
Thanks,

Dan Willemsen

unread,
Sep 19, 2018, 6:47:39 PM9/19/18
to Android Building
Download the source and set up your machine as described on https://source.android.com/setup/build/requirements

Basically, do everything up to the "lunch" step, then use "tapas" instead:

  $ tapas LatinIME arm64
  $ m

The APK will be in out/target/product/generic_arm64/system/app/LatinIME/LatinIME.apk

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vedant Roy

unread,
Sep 21, 2018, 11:36:30 AM9/21/18
to Android Building
Thank you so much for the assistance. I have two more questions in regards to this topic.

1] Is it possible to only download the part of the source that is relevant to the Latin IME?
 
For example, can I just do: git clone https://android.googlesource.com/platform/packages/inputmethods/LatinIME and then run the lunch/tapas commands?

2] It turns out that I only need to build the native portion of the Latin IME (The C++ files), presumably into a .so file, so that they can be used by an apk. They can be found here: https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/master/native/ 

Is it possible for me to only build the native portion of the Latin IME?

Dan Willemsen

unread,
Sep 24, 2018, 5:00:18 PM9/24/18
to Android Building
AOSP does not have a minimal manifest for Latin IME -- with enough work, it's likely possible, but I suspect it would need at least 30-40 different repositories (the build system, different compilers, dependencies, etc).

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at

Bhavdip Bhalodia

unread,
Oct 1, 2018, 4:18:41 PM10/1/18
to android-...@googlegroups.com
Anyone let me know how to use LatinIME keyboard in my app only or any other way to use the LatinIME keyboard after installation of my application?
--
Regards,
Bhavdip Bhalodia


This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message.

--naa tvaya vina--
Reply all
Reply to author
Forward
0 new messages