Skip to content

Mik-el/Android-10-Keyboard-for-Android-2.3

 
 

Repository files navigation

Android 10 keyboard for Android 2.3+ (Mik-el)

Crowdin

closeup

  • Small size
  • Ads-free
  • Only 1 permission (Vibrate)

Story of this code

  • Google has its stock keyboard (official source code)
  • rkkr makes his minimal "Simple Keyboard", removing unecessary feaures from the code (Emojis, GIFs, spell checker and swipe typing)
  • Mik-el (me) works to make the keyboard working also on Android 2.3 devices (and up)

My steps to add support for Android 2.3+

  • Lowered minSdkVersion to api10 (android 2.3.3+);
  • Added support-v4 library to add NEW apis for this "old" android; (support library version is 25.4.0, newer ones require Android 4.0)
  • Added suport-v7 library even if (probably) unecessary
  • Added support for android.animation (requires api11+ but I've added backported code thanks to nineoldandroid)
  • Set the hardware acceleration for the app to "false" to avoid the usage of a newer method

Does this Keyboard work?

  • The code compiles correctly.
  • The generated apk is correctly installed on old Android devices
  • The keyboard crashes :(

The last unsolved error according to logcat

  • (It's a classic "colud not find class X referenced from method Y" problem, link but I haven't figured out how to solve it yet)
  • In other words, a java class in this code (rkr.simplekeyboard.inputmethod.latin.RichInputMethodManager) uses methods that belongs to an android class (android.view.inputmethod.InputMethodSubtype) that can't be used in this project.

How to quickly work on this code

Search in the whole project the word "Mikel" (Ctrl+Maiusc+F) and you'll quickly find the lines edited by me

Credits and Support

  • Mik-el (me, works on Android 2.3+ support)
  • rkkr (worked on the SimpleKeyboard code)
  • Jake Wharton (backported Android animation)

My Social pages

Telegram Channel link
XDA Forum link
Tech Blog link
Instagram link
Youtube link