Development for Android with physical T9 keyboard

0 favourites
  • 3 posts
From the Asset Store
You can become a REAL game developer. Learn the basics and get resources that will let you get profits from your game!
  • Hello community!

    Recently got into possession Android phone with physical T9 keyboard. So was wondering if Construct 3 has some built in external keyboard support or ability to detect that smartphone has physical keyboard. I didn't found while reading documentation anything about T9 keyboards. So just wondering is it possible or it's irrelevant thing for current day.

    Here device in question:

    Specs of device:

    CPU: Mediatek MT6769V

    GPU: Mali-G52 MC2

    Ram: 4GB

    OS: Android 12 (API 31)

    Resolution: 640x960

    Screen: 5 point touchscreen 3.5 inch

    Sensors: Accelerometer, Gravity, Light, Proximity, Rotation

  • That brings back pre-iPhone memories!

    I’d start by seeing what the Keyboard object returns when a key is pressed (just numbers I’d guess). Then see what happens when you type into a Text Input object.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • That brings back pre-iPhone memories!

    I’d start by seeing what the Keyboard object returns when a key is pressed (just numbers I’d guess). Then see what happens when you type into a Text Input object.

    Did bit of experimenting. When activate text input it immediately calls for keyboard app like Gboard or Old T9 Keyboard. Trying get inputs from keyboard plugin no results. Looks like it has some proprietary system. But then Old T9 keyboard app reads inputs of device and corresponds to a key so there is either using some more deeper stuff that Construct 3 can't access or it's just engine throwing fit because well it's odd device

    Edit 1 (there gonna be a lot)

    While starting test inputs weren't recognized but after switching into text input then switching it off I started getting input codes off keyboard raging from 37-40 for Navi and 48-57 for numeric so some sorta keyboard emulation is but it's not immediate gonna build APK and see maybe it's issue with focus

    Edit 2 (perhaps final)

    After building APK and testing on phone got immediately reads of input keys showing issue was with focus. In theory it's possible to write native game for this specific device since keycodes will be different for other similar devices like Cat S22 but it looks like on some free time when not be on main project will write small game using it's physical input or mix both touch-screen and T9 keyboard

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)