Change Keyboard Based on S-Pen state with SPenBoard Switcher
One of the major features of many recent Samsung phones (or should we say “phablets?”) or tablets with the S-Pen is a suite of TouchWiz additions, such as a keyboard featuring handwriting recognition and gesture typing. While other keyboards might offer handwriting functionality, and some may call this is a gimmick; XDA forum members were clear in their requests that, while they might choose to use other keyboards, they want to retain these features offered by the stock Samsung keyboard—without the hassle of manually changing keyboard.
Enter XDA Recognized Developer LegendK95, with his app SPenBoard Switcher. If your device is capable of detecting when the pen is removed, it should be possible to use this app to change your default keyboard between two of your choice. While it is likely that most users will want to use this application to change from a third party keyboard to the Samsung keyboard when the pen is removed (and back when it is re-inserted), it is possible to select any keyboard for either state.
This app is a good example of the benefits of Samsung’s S-Pen SDK, which is available from the Samsung Developer website. Through the APIs provided by Samsung, it is possible for apps to take advantage of features of the operating system pertaining to the S-Pen, such as identifying if the pen has been removed from the device, the pressure being applied to the pen, or the state of the side button on the pen.
While the app has been mainly tested on variants of the Galaxy Note II, it should work on any recent S-Pen enabled device that is capable of notifying you when the S-Pen has been removed from the holder. If you want to give the app a try, check it out over in the apps sub-forum, bearing in mind that it requires root access to install to the system partition. This is required in order to change the current keyboard input method without prompting you each time.
Apps like this offer users more choice in how they use their devices, beyond what Samsung chose to offer on their stock ROM. There are definitely many more opportunities for anyone willing to dive into the S-Pen SDK. What would you like to see as the next S-Pen utility app?
Want something on the XDA Portal? Send us a tip!