[Q] Force Open Soft-Keyboard? - Tasker Tips & Tricks

Hello, so I followed this tutorial: https://www.reddit.com/r/Undertale/...ial_droidtale_unofficial_and_hacky_undertale/, now I have Undertale running on my phone. I made a tasker profile, so that it would switch input methods to a gamepad keyboard so I could play the game. Currently, I can't figure out how to make the soft-keyboard force open and stay open whenever I am in the game.
Thanks!

Lifehags said:
Hello, so I followed this tutorial: https://www.reddit.com/r/Undertale/...ial_droidtale_unofficial_and_hacky_undertale/, now I have Undertale running on my phone. I made a tasker profile, so that it would switch input methods to a gamepad keyboard so I could play the game. Currently, I can't figure out how to make the soft-keyboard force open and stay open whenever I am in the game.
Thanks!
Click to expand...
Click to collapse
To do this, you must be rooted and have the "Secure Settings" plugin installed.
Download Secure Settings
This tutorial here will explain how to setup the profile.
Change Of Input Tutorial

yeah very nice trick

DrGreenway said:
To do this, you must be rooted and have the "Secure Settings" plugin installed.
Download Secure Settings
This tutorial here will explain how to setup the profile.
Change Of Input Tutorial
Click to expand...
Click to collapse
thanks!

Related

[Q] Can Tasker ....

Can Tasker automate the abling and disabling of a security PIN for unlocking the phone? For example, while at home I would like to have no screen lock, but while out I would like more security and so would like a PIN to be required for accessing the phone. Thanks in advance.
Yes it can
Sent from my Nexus S using xda premium
NicholasQ said:
Yes it can
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Awesome, thanks.
gimiento said:
Can Tasker automate the abling and disabling of a security PIN for unlocking the phone? For example, while at home I would like to have no screen lock, but while out I would like more security and so would like a PIN to be required for accessing the phone. Thanks in advance.
Click to expand...
Click to collapse
That's what I have mine doing. You'll need this also https://market.android.com/details?id=com.intangibleobject.securesettings.plugin
I've tried playing around but couldnt figure out how to do it. Can you tell me how to? Thanks
kjaved373 said:
I've tried playing around but couldnt figure out how to do it. Can you tell me how to? Thanks
Click to expand...
Click to collapse
When I'm off work later tonight I can post step by step instructions. Do you have wifi at home? Because I have mine set so that it knows I'm at home when I'm connected to my home wifi.
thats exactly what I want! I would appreciate it very much!
1. Create new profile - name it whatever you want
2. Under First Context choose State > Net > Wifi Connected
3. Under SSID input your home wifi's network name or if connected to it then just hit the magnifying lens in the upper right and select your home network and hit the green checkmark at the bottom to save it
4. Choose New Task and name it whatever you want.
5. Hit the plus sign to add a new action and choose Plugin > Secure Settings
6. Now hit Edit under Configuration and change Keyguard to either password/pin or pattern lock (depending on what security you've choosen) and select Off (I also check the setting where I've got to enter in my pass code once before it will unlock but that's up to you) and then hit the disk icon in the bottom right to save it and again confirm that you want to save it.
7. Hit the green checkmark again and also on the next screen.
8. Then click on the action you created and choose Add Exit Task and repeat the steps starting at step 4 but this time under Password/Pin or Pattern Lock choose On.
9. Then just keep hitting the green checkmarks until you exit out of Tasker.
I typed this out on my phone on the bus ride home so let me know if it's not clear or I missed a step. And you will need to first install Secure Settings that I linked to earlier.
Awesome, thanks for posting that! I haven't used Tasker, or Locale or any other automating app, so I'm curious, why would one choose Tasker over Locale? I just have a few simple things i want to automate (though that list could grow once I get into it).
gimiento said:
Awesome, thanks for posting that! I haven't used Tasker, or Locale or any other automating app, so I'm curious, why would one choose Tasker over Locale? I just have a few simple things i want to automate (though that list could grow once I get into it).
Click to expand...
Click to collapse
I've never used Locale but before I bought Tasker I read a few reviews comparing the two and it seems that Locale is more user friendly but Tasker is more powerful. But for most everyday uses Locale will probably work fine.
jesusice said:
1. Create new profile - name it whatever you want
2. Under First Context choose State > Net > Wifi Connected
3. Under SSID input your home wifi's network name or if connected to it then just hit the magnifying lens in the upper right and select your home network and hit the green checkmark at the bottom to save it
4. Choose New Task and name it whatever you want.
5. Hit the plus sign to add a new action and choose Plugin > Secure Settings
6. Now hit Edit under Configuration and change Keyguard to either password/pin or pattern lock (depending on what security you've choosen) and select Off (I also check the setting where I've got to enter in my pass code once before it will unlock but that's up to you) and then hit the disk icon in the bottom right to save it and again confirm that you want to save it.
7. Hit the green checkmark again and also on the next screen.
8. Then click on the action you created and choose Add Exit Task and repeat the steps starting at step 4 but this time under Password/Pin or Pattern Lock choose On.
9. Then just keep hitting the green checkmarks until you exit out of Tasker.
I typed this out on my phone on the bus ride home so let me know if it's not clear or I missed a step. And you will need to first install Secure Settings that I linked to earlier.
Click to expand...
Click to collapse
I did exactly as you said and i can't get it to work. Did you clear the lock settings in security before doing this or keep that? Also what rom are you using, that may be the problem for me (elite ics).
I've tried setting a lock, and then connecting to wifi but lock doesn't go away. I also tried having no lock set and turning off wifi, but the lock doesn't show up on the screen.
kjaved373 said:
I did exactly as you said and i can't get it to work. Did you clear the lock settings in security before doing this or keep that? Also what rom are you using, that may be the problem for me (elite ics).
I've tried setting a lock, and then connecting to wifi but lock doesn't go away. I also tried having no lock set and turning off wifi, but the lock doesn't show up on the screen.
Click to expand...
Click to collapse
I didn't think to add that you've also gotta open Secure Settings and select the Helper tab and install the Helper. There's also an option there to download a flashable zip to install the helper (it's gotta be in system to work). I've just gotten so used to flashing the helper every time I flash a new ROM I didn't think of it.
jesusice said:
I didn't think to add that you've also gotta open Secure Settings and select the Helper tab and install the Helper. There's also an option there to download a flashable zip to install the helper (it's gotta be in system to work). I've just gotten so used to flashing the helper every time I flash a new ROM I didn't think of it.
Click to expand...
Click to collapse
Had Helper installed and still didn't work. Btw Helper is for pattern only, you don't need it for pin/password.
I'll try playing around some more tomorrow. Thanks for the help!
I'm very interested in this. If you get this working I may have to break down and buy tasker. Always been curious about it, but never really had a purpose of it til this came up.
Sent from my Nexus S 4G
kjaved373 said:
Had Helper installed and still didn't work. Btw Helper is for pattern only, you don't need it for pin/password.
I'll try playing around some more tomorrow. Thanks for the help!
Click to expand...
Click to collapse
Did you also enable Tasker as a device administrator? This can be found in your phone settings under Security.
jesusice said:
Did you also enable Tasker as a device administrator? This can be found in your phone settings under Security.
Click to expand...
Click to collapse
Didn't have it enabled, but still not working.
actually nothing in tasker is working for me, gonna try locale or the other program.
kjaved373 said:
actually nothing in tasker is working for me, gonna try locale or the other program.
Click to expand...
Click to collapse
/shrug
Sorry, don't know what to tell you. Tasker's working great for me.
tried llama and it kinda worked with built-in actions but not with the secure settings plugin.
Couldn't you also do it by location as well, instead of Wifi connection. Which is basically Locale.
Sent from my Nexus S 4G

Carstream (aka YouTube auto) working with update phone w/root

Up until recently google had blocked car stream via updates to Android auto and play services. The only way to keep car stream working was to keep those two apps rolled back to certain versions and not take updates. Problem is play services auto updates regardless of settings for such, and will randomly disable YouTube auto until roll back again.
Well thekirankumar updated carstream to version 2.0.0 and with it brought instructions to bypass these blocks. You can find it here at his github. The instructions were a little complicated for your average user and even then contained some uneeded steps. So I'm going to summarize....
Update play services and Android auto (woo!).
Install carstream (Android auto) from the github link above.
Then follow his guide step 1-8, I'll qoute...
"1. Start Android Auto on your phone (the phone is not attached to anything at this time)
2. Click on the menu on the top left (three bars)
3. Click "About"
The following steps may already be done. I am including them for reference for newbies.
4. If developer mode is not enabled, click on the bar "About Android Auto" 10 times.
5. Click on the three dot menu (on the top right)
6. Click on "Developer settings"
7. Click on Application Mode and set to "Developer". Also go to the bottom of the developers settings and make sure "Unknown Sources" is checked.
8. Click back, and then go to the three dot menu. Click "Start head unit server"."
Now connect the phone to your car and accept any permissions it may ask you for.
Disconnect the phone, click stop on the head unit server from your notification bar.
Then follow his steps 20-23, I'll qoute...
"20. Now, go to your apps, and start Carstream
21. Click on "Unlock[Root]" and grant Root access when prompted (screenshot below)
22. Reboot the phone
23.Once the phone reboots, connect the phone to your car, and start Android Auto. Go to the speedometer thing (on the lower right side of the screen) and see if Carstream is listed. If it is, give thanks below. If it isn't, I don't know what to tell you."
All done
Worked for me! ?
gooooooood
thnx bro
root or no root?
do i have to root my phone to do this??
ty perry
banditelvis721 said:
do i have to root my phone to do this??
ty perry
Click to expand...
Click to collapse
You need root
Works for me as well, but...the videos are portrait, not landscape. Any way to change that?
banditelvis721 said:
do i have to root my phone to do this??
ty perry
Click to expand...
Click to collapse
lloydsw said:
Works for me as well, but...the videos are portrait, not landscape. Any way to change that?
Click to expand...
Click to collapse
While watching the video, go full screen. When full screen, tap on the video and a little box on the right side will pop up that say either "fil, contain, or fit" I think. Tap on the box to cycle through viewing options
Superb...work fantastic with me.
It's an error on clicking Unlock [Root] in Carstream. I granted Root permissions at the prompt. Still it's a permission denied error.
noidea24 said:
While watching the video, go full screen. When full screen, tap on the video and a little box on the right side will pop up that say either "fil, contain, or fit" I think. Tap on the box to cycle through viewing options
Click to expand...
Click to collapse
Worked perfect, thanks!!!
Hey guys. It worked for me! If anyone has any problem using or installing this app, please check out my detailed video on youtube.
Link : https://youtu.be/uLcieEP1-hw
Please comment if i need to improve or your views on it. Thanks
thanks a ton, works perfectly for me on my Pixel 2
was missing this App after AA got updated to v3.0
you rooted your phone?
Rammit said:
Superb...work fantastic with me.
Click to expand...
Click to collapse
is it tought to do??
will it erase everything on my phone??
thanks
perry
thanks for this! I can't wait to try it and report back.
Is this work with AA and gps latest version? Confirm please... thank you.
car stream
Horoscope said:
thanks a ton, works perfectly for me on my Pixel 2
was missing this App after AA got updated to v3.0
Click to expand...
Click to collapse
so everything works? did you root?? if so what did you use, is it easy, will i lose everything??
thanks
perry
aroy11 said:
It's an error on clicking Unlock [Root] in Carstream. I granted Root permissions at the prompt. Still it's a permission denied error.
Click to expand...
Click to collapse
Make sure you have busybox. Though This message usually occurs when the apps aren't updated (either Android auto or play services). Reboot and try again.
banditelvis721 said:
so everything works? did you root?? if so what did you use, is it easy, will i lose everything??
thanks
perry
Click to expand...
Click to collapse
It Depends. If your bootloader is already unlocked, you won't loose anything by rooting. If your bootloader is locked then unlocking it (to allow root) will erase everything.
danyAf said:
Is this work with AA and gps latest version? Confirm please... thank you.
Click to expand...
Click to collapse
Yes, latest Android auto updates.
znel52 said:
Worked for me!
Click to expand...
Click to collapse
Does the phone have to be rooted?

activating lastpass accessibility toggle

Is it possible to use tasker to switch on lastpass accessibility toggle? My OnePlus 3t (not rooted, OOS 9.0.4) deactivates it almost on a daily basis. I have switched off battery optimisation for lastpass but the phone turns the toggle off.
Use auto input
Ta. I'll check that out
Hi there. Maybe you can try using the "Custom Setting" action for that. Try using the Magnifying glass in the action with the option to automatically find the setting and see if Tasker can find it. Hope this helps!
joaomgcd said:
Hi there. Maybe you can try using the "Custom Setting" action for that. Try using the Magnifying glass in the action with the option to automatically find the setting and see if Tasker can find it. Hope this helps!
Click to expand...
Click to collapse
I found that by googling but I can't figure out how to make it toggle the switch. The tasker forum talks about reading the accessibility setting but gives no more details than 'brilliant that works'
Eggstones said:
I found that by googling but I can't figure out how to make it toggle the switch. The tasker forum talks about reading the accessibility setting but gives no more details than 'brilliant that works'
Click to expand...
Click to collapse
The easy way is to use the Secure Settings action in AutoTools. That has a direct option for accessibility services. I plan on adding that option to Tasker directly at a later date.
With the Custom Setting action what you should do is read the value, remove or add the needed service from the list, the write the setting.
Ta I'll test that
joaomgcd said:
The easy way is to use the Secure Settings action in AutoTools. That has a direct option for accessibility services. I plan on adding that option to Tasker directly at a later date.
With the Custom Setting action what you should do is read the value, remove or add the needed service from the list, the write the setting.
Click to expand...
Click to collapse
I must be missing something here. Autoapps seems to only control a subscription service. Can't see anything called secure settings when I download it.
Eggstones said:
I must be missing something here. Autoapps seems to only control a subscription service. Can't see anything called secure settings when I download it.
Click to expand...
Click to collapse
I mentioned AutoTools, not AutoApps
joaomgcd said:
I mentioned AutoTools, not AutoApps
Click to expand...
Click to collapse
Mea culpa mea maxima culpa.
I'll try again.
I seem to have manage to get the change state to react to it switching state but need to do some adb to see if it works.
Deleted
joaomgcd said:
The easy way is to use the Secure Settings action in AutoTools. That has a direct option for accessibility services. I plan on adding that option to Tasker directly at a later date.
With the Custom Setting action what you should do is read the value, remove or add the needed service from the list, the write the setting.
Click to expand...
Click to collapse
I can now get the profile to switch on but I cannot figure out how to get the secure setting to change the toggle.
Both profile and task shows up as green but nothing seems to happen.
Eggstones said:
Mea culpa mea maxima culpa.
I'll try again.
I seem to have manage to get the change state to react to it switching state but need to do some adb to see if it works.
Click to expand...
Click to collapse
No problem at all Let me know how it goes!
joaomgcd said:
No problem at all Let me know how it goes!
Click to expand...
Click to collapse
Not well at all. The profile activates but nothing is actually changed.
Eggstones said:
Mea culpa mea maxima culpa.
I'll try again.
I seem to have manage to get the change state to react to it switching state but need to do some adb to see if it works.
Click to expand...
Click to collapse
Eggstones said:
Not well at all. The profile activates but nothing is actually changed.
Click to expand...
Click to collapse
Does it work if you run the task manually?
joaomgcd said:
Does it work if you run the task manually?
Click to expand...
Click to collapse
No. If I click on the task I don't get an error or the green dot. Instead I get a grey play arrow Infront of the task.
In the profile window both the profile and task shows up as green.
Eggstones said:
No. If I click on the task I don't get an error or the green dot. Instead I get a grey play arrow Infront of the task.
In the profile window both the profile and task shows up as green.
Click to expand...
Click to collapse
That means that Tasker doesn't seem to be able to communicate with AutoTools. Do other AutoTools actions work?
To make sure Tasker and the AutoApps run in the foreground please check here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00
joaomgcd said:
That means that Tasker doesn't seem to be able to communicate with AutoTools. Do other AutoTools actions work?
To make sure Tasker and the AutoApps run in the foreground please check here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00
Click to expand...
Click to collapse
Sorry to be a pain but I cannot find the run in foreground setting on my OnePlus 3t.
Eggstones said:
Sorry to be a pain but I cannot find the run in foreground setting on my OnePlus 3t.
Click to expand...
Click to collapse
Did you check here?
joaomgcd said:
Did you check here?
Click to expand...
Click to collapse
Yep. All those seeking are correctly set. It's the tasker foreground setting I cannot find. Tried googling it but the links I found doesn't match what I see in tasker.

Help with Samsung Smartview autoconnect to device

Hi,
i d like to create a task so it autoenables smartview and connects to a given device.
i couldnt find the trigger todo so, is it may not possible ?
The Trigger Bluetooth is clear, but i cant figure the way to use smartview with device as task ...
for an Tipp thanks ahead
Unfortunately, I haven't had a Samsung in years, but a post in the S7 Q/A forum suggests using an app called Miracast Shortcut.
ktmom said:
Unfortunately, I haven't had a Samsung in years, but a post in the S7 Q/A forum suggests using an app called Miracast Shortcut.
Click to expand...
Click to collapse
thanks for the tip, i gave it a try, this will only open the screen share page on the phone, there is no auto connect option in the app so it wont connect to the cast device actually.
was worth a try
alturismo said:
thanks for the tip, i gave it a try, this will only open the screen share page on the phone, there is no auto connect option in the app so it wont connect to the cast device actually.
was worth a try
Click to expand...
Click to collapse
Try using the net -> bluetooth connection action
ktmom said:
Try using the net -> bluetooth connection action
Click to expand...
Click to collapse
Hi, thanks, but thats exactly what im doing in profile, using the bluetooth connect to car to open the app, but the app doesnt auto connect to the cast device (and there is no option as far as i see in the app todo so), so the point in auto connect to the device cannot be provided like this in my usecase.
thanks for the tip with BT, that is my trigger already to start the action, but the action "auto connect to a cast device" ... is not given to me.
alturismo said:
Hi, thanks, but thats exactly what im doing in profile, using the bluetooth connect to car to open the app, but the app doesnt auto connect to the cast device (and there is no option as far as i see in the app todo so), so the point in auto connect to the device cannot be provided like this in my usecase.
thanks for the tip with BT, that is my trigger already to start the action, but the action "auto connect to a cast device" ... is not given to me.
Click to expand...
Click to collapse
There is a tasker plugin by the same developer called AutoCast. Maybe it will help you.
I don't do any of this, so obviously I don't have any personal experience to offer. You might try on the tasker Google groups forum.
ktmom said:
There is a tasker plugin by the same developer called AutoCast. Maybe it will help you.
I don't do any of this, so obviously I don't have any personal experience to offer. You might try on the tasker Google groups forum.
Click to expand...
Click to collapse
was a great idea, sadly this app (beta state) only supports google devices, no miracast device, but that function would have been the winner, thanks again
Probably a part of the problem is that Google removed miracast support from "stock" android awhile ago. That dates back to the nexus 6 days.
ktmom said:
Probably a part of the problem is that Google removed miracast support from "stock" android awhile ago. That dates back to the nexus 6 days.
Click to expand...
Click to collapse
contacted the developer of the autocast plugin and he confirmed, only works with google cast devices like i (sadly) expected.
thanks anyway for the hint.
That's always working to automate the tap(s) required. You could use Tasker to open the app, AutoInput UI query to determine when it's open, then an AutoInput action to enable the device connection.
probably yes, but thats now too much read and trial and error for now, thanks.

Google Cast & "Coolwalk"

After seeing the articles about the new files being in the latest beta version I took a dive in and looked to see how to enable it. Here's some basic steps for that.
​1. You will need to be rooted and on the latest beta. "7.3.120244-release.daily"​2. Download a database editor, I used SQLite Editor.​3. Open SQLite and under "apps" section navigate to Google Play Services and open it.​4. Scroll down to phenotype.db and select it.​5. Look for "flags" and open it.​6. On the top select "set filter" input Coolwalk__enabled.​7. change all bootVal from 0 to 1.​8. Now search for cakewalk and do the same.​9. Lastly search for MirrorApp__enabled and change those.​
Now just restart your phone and connect to Android auto. You will need to enable coolwalk on the head unit settings. To switch from full screen and condensed press and hold the new UI home button. I need another phone to show off cast, but it does work. You just can't do Netflix/Hulu what not. You also need to be in park. I haven't found what to change to eliminate that. Anyone else wants to help give it a shot.
UPDATE: if you have sqlite3 installed with magisk you can also create a trigger like so in termux.
Code:
Su
Sqlite3
.open /data/data/com.google.android.gms/databases/phenotype.db
CREATE TRIGGER after_update
AFTER UPDATE ON Flags
BEGIN
UPDATE Flags SET boolVal=1 WHERE name='Coolwalk__enabled';UPDATE Flags SET boolVal=1 WHERE name='MirrorApp__enabled';UPDATE Flags SET boolVal=1 WHERE name LIKE 'Coolwalk__%' AND boolVal=0;
END;
​​
works fine, thank you
working! maps looks a bit bugged when navigation is on (can't see road indications) but probably is just a matter of time they fix it... thanks bro!!
I enabled all the flags but can't get the option...anything I'm missing? I'm on Android 12 and latest AA 7.3 beta
@niccotaglia are you using exactly the android auto version as described "7.3.120244-release.daily"? if not you should try this
b0uNz said:
@niccotaglia are you using exactly the android auto version as described "7.3.120244-release.daily"? if not you should try this
Click to expand...
Click to collapse
I was using 7.3.120444. Will try 120244
Works great! I tried it on both the 7.3.120244 and the 7.3.120444 beta version and both worked. I did have to revert all the tweaks from AA AIO Tweaker and uninstall the app first to get it to work.
Still not working...I tried everything imaginable but nothing works.
niccotaglia said:
Still not working...I tried everything imaginable but nothing works.
Click to expand...
Click to collapse
Are you running any other Android Auto tweaks? Make sure your imputs are being saved before going on to the next one
Eazii said:
Are you running any other Android Auto tweaks? Make sure your imputs are being saved before going on to the next one
Click to expand...
Click to collapse
I ended up nuking Play services data and starting from a fresh database. I used AIO Tweaker to enable it and now it works
Can someone give me more information about the Cast function?
niccotaglia said:
I ended up nuking Play services data and starting from a fresh database. I used AIO Tweaker to enable it and now it works
Click to expand...
Click to collapse
Which option to use in AIO Tweaker to enable it? Did you still change the boolVal using SQLEditor for play service?
purespin said:
Which option to use in AIO Tweaker to enable it? Did you still change the boolVal using SQLEditor for play service?
Click to expand...
Click to collapse
These 3. And no, i didn't do any manual database editing
Perhaps we can use the cast function for Screen2Auto and Fermata in the future as Google always tries to block 3rd party apps.
niccotaglia said:
View attachment 5527001
These 3. And no, i didn't do any manual database editing
Click to expand...
Click to collapse
Which Version of AA are you using?
Works well!
But there is a little issue where screen goes totally black and android auto being unusable once i hold the home button to get the condensed UI!
Snake.s9 said:
Works well!
But there is a little issue where screen goes totally black and android auto being unusable once i hold the home button to get the condensed UI!
Click to expand...
Click to collapse
Which version of AA are you using?
Snake.s9 said:
Works well!
But there is a little issue where screen goes totally black and android auto being unusable once i hold the home button to get the condensed UI!
Click to expand...
Click to collapse
Yes, I randomly got the same black screen too, although the bottom bar is still visible/clickable. Restart AA will be back to normal. I think it's just a bug in the AA beta.
purespin said:
Yes, I randomly got the same black screen too, although the bottom bar is still visible/clickable. Restart AA will be back to normal. I think it's just a bug in the AA beta.
Click to expand...
Click to collapse
Which version of AA are you using?
fkrrr said:
Which version of AA are you using?
Click to expand...
Click to collapse
7.3.120244

Categories

Resources