5,593,401 Members 36,166 Now Online
XDA Developers Android and Mobile Development Forum

Switch keyboards when removing/attaching pen (Root)

Tip us?
(Last edited by KestrelX; 27th February 2014 at 04:13 AM.)
KestrelX's Avatar
Senior Member - OP
Thanks Meter 89
Posts: 346
Join Date: Nov 2012
Default Switch keyboards when removing/attaching pen (Root)

I wanted to be able to automatically switch to MyScript Stylus Beta keyboard when I took my pen out. And then switch back to Samsung keyboard when I put the pen away. I came across this combination of apps to do this from another forum. I *THINK* it was from the Galaxy Note 10.2 2014 edition forum. There weren't detailed instructions though so I had to figure out how to make it work. Here's hoping it helps someone else!

Before I start.. keep an eye on this app: SPenBoardSwitcher (PLAY: https://play.google.com/store/apps/d...cher.installer XDA: http://forum.xda-developers.com/show....php?t=2472801). If it gets updated to work with KitKat, then we would only need the one app to do this.

Install these apps:

Note Buddy: (https://play.google.com/store/apps/d...ar.spen_helper) Creates plugin to allow Tasker to be aware of spen insertion and removal.

Secure Settings: (https://play.google.com/store/apps/d...ettings.plugin) creates plugin to allow Tasker to switch keyboards

Tasker: (https://play.google.com/store/apps/d...ndroid.taskerm): set up the task to switch keyboards

- Open up Note Buddy, make sure Enable is set to On in the S Pen tab.

- Open up Secure Settings. Go to the System+ Tab. Enable this. It will ask for Root Access. (Back on the Options tab you can disable everything but Input Method under System+ Actions

- Open up Tasker

Under Profiles, create a new Profile. Select State, Plugin, Note Buddy. When you get to the new window, hit the pencil button next to Configuration. Choose Pen Detached. Hit Save. Hit your back button.

It prompts you to Enter a Task. Create a New Task. Give it a name (i.e. Turn Pen keyboard on). Click the plus sign at the bottom to add an action. Select Plugin. Select Secure Settings. Next to Configuration, hit the pencil button to edit. Expand System+ Actions. Choose input Method. Select the keyboard you want when the pen is being used. Save. Hit back button until you get to Tasker Profile screen.

Do the same thing over again (create another profile and task) except choose Pen Inserted for the first step and select the keyboard you want to use when pen is NOT being used for the second.

Let me know if this is clear enough or not
Samsung Galaxy Note 3 (Safestrap, Dynamic Kat)
Samsung Galaxy Note Pro 12.2 (stock, rooted)
Samsung Galaxy Tab Pro 8.4 (stock, rooted)
The Following 3 Users Say Thank You to KestrelX For This Useful Post: [ Click to Expand ]
Senior Member
Thanks Meter 31
Posts: 105
Join Date: Dec 2008
Location: Brooklyn
I will try this later on as I don't have root yet ( waiting for custom recovery) thank you for the instructions

Sent from my SM-P900 using Tapatalk
Senior Member
Thanks Meter 31
Posts: 105
Join Date: Dec 2008
Location: Brooklyn
Originally Posted by KestrelX View Post
I wanted to be able to .
Thank you very much I finally rooted and it works perfectly!

Sent from my SM-P900 using Tapatalk
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes