A keyboard engine, written out properly
Most keyboard listings are a layout drawn on a grid. AI Keyboard Pro is the engine underneath one: key detection with a real hit-testing model, pointer tracking that follows a finger across keys, long-press panels for alternate characters, layout sets that swap per language, and haptic and audio feedback managed centrally.
161 classes, and the parts that are hard to get right are the parts that are there.
The input engine
KeyDetector and PointerTracker — accurate hit testing and gesture tracking across keysMoreKeysKeyboard, MoreKeysPanel, MoreKeysDetector — long-press panels for accents and alternatesKeyboardLayoutSet and KeyboardSwitcher — layouts swapped per language and per input fieldInputTransaction — composed text handled as a transaction rather than character-by-character guessworkRichInputMethodManager — proper integration with Android's own IME subsystemAudioAndHapticFeedbackManager — key sound and vibration, configurable
AI features
PromptMaster drives the AI side, calling a backend over Retrofit — text assistance available from inside the keyboard, in whatever app the user is typing in. Because it sits in the IME, it works everywhere rather than in one host app.
Accounts
- Sign-up, sign-in and password recovery, with a welcome and tutorial flow
- Retrofit + Gson against your API, with an OkHttp logging interceptor for debugging
- Token refresh handled by a dedicated class
AESCrypt for local encryption of sensitive valuesSPManager for preferences, InternetMaster for connectivity handling
Settings, split the way users expect
Dedicated fragments for appearance, themes, languages, key-press behaviour, general preferences and input-method setup — plus per-language screens, so a user configuring one script does not wade through every other.
Technical
- Application ID: com.emransoft.aikeyboardpro
- Min SDK: 24 (Android 7.0) · Target SDK: 35
- Networking: Retrofit 2.9.0, Gson, OkHttp logging interceptor
- Serialisation: Jackson databind with JSR-310, protobuf-javalite
- Crypto: libsignal-android, plus AES for local values
- Media: android-gif-drawable for GIF support, CircleImageView
- Mail: JavaMail (android-mail) for in-app email
What you get
The complete Android Studio project in full source, with the API contract the account and AI features expect.