dumpsys input_method | grep InputShown
returns a line that contains mInputShown=true (or false). This requires root.
Matt
Nothing so far... sorry.
ps
to get the list of current processes
find the keyboard process
check the oom_adj value for that process
to determine if keyboard being shown.
Tom
But... tasker CANNOT detect it appearing or being displayed at all!
Oh, so it's not just me then.
When my keyboard appears a notification with title, "Select Input Method" appears.
But... tasker CANNOT detect it appearing or being displayed at all!
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/k3kK7onhBtg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.
By why chance, would you happen to know how to check the size of the layouts?
--
sh: <stdin>[2]: pgrep: not found
sh: <stdin>[2]: cat: /proc//oom_adj: No such file or directory
I will admit I know very little about shell scripts command syntax, but can someone point out what is the user error here?
Look in this thread
https://groups.google.com/d/msg/tasker/HqBGTsmwvsw/KhCRR2dPVt0J
It's a long thread, but I walked some users thru how to get oom_adj on stock android without root.
Thanks for the info, I will look into that. It just sounded easier to do than I thought I guess.
Profile: Adjust for STT (326)
Priority: 9 CoolDown: 0
State: Proximity Sensor
State: Variable Value [ Name:%PACTIVE Op:Matches Regex Value:Caller Recording Disable ]
Enter: HTC SENSE Input (336)
A1: Variable Clear [ Name:%OOMADJ Pattern Matching:Off ]
<HTC SENSE INPUT oomadj value>
A2: Action Box [ Configuration:[Get oom_adj]
com.htc.android.htcime, %OOMADJ Package:pe.lastingchild.actionbox Name:Action Box ]
Exit: Bluetooth Adjustment (335)
A1: If [ %OOMADJ < 2 ]
A2: Bluetooth Auto Connect [ Configuration:Data Package:org.myklos.btautoconnect Name:Bluetooth Auto Connect Continue Task After Error:Off ] If [ %OOMADJ < 2 ]
A3: Flash [ Text:Bluetooth Altered Long:Off ] If [ %OOMADJ < 2 ]
A4: Else
A5: Flash [ Text:Not Running Long:Off ]
A6: End If
This cuts my M2DP connection (if not in use) with Bluetooth when using Google speech to text recognition on the keyboard with a wave of my hand over the proximity sensor. Allowing me to use my headset when connected for quick text input. M2DP profile reconnects when headset media button is pressed, or simply resumes if already in use.
One issue resolved.
+1