Device: OPT - CM 13.0 (off) - rooted
Apps: Tasker and Secure Settings (Pro) [both provided device administrator privilege]
What my objective is:
During specific days (Sun to Fri) @ 19:00 hours -> Activate airplane mode
On Saturday @ 21:30 hours -> Activate airplane mode
On Sunday @ 08:00 hours -> Deactivate airplane mode
On other days (Mon to Sat) @ 05:20 hours -> Deactivate airplane mode
I am completely new to Tasker. Need your kind guidance. Thanks in advance.
Basically, you need to create a Task to set Airplane Mode On and another Task to set Airplane Mode Off. These Tasks will be triggered by Time Context Profiles at your desired days and times.
But these are very hard to explain in detail here.
Best for you is to browse some examples in Tasker User Wiki and view some video examples in YouTube.
That's what I did before finally learning how to create tasks and profiles.
SogaBan said:
Device: OPT - CM 13.0 (off) - rooted
Apps: Tasker and Secure Settings (Pro) [both provided device administrator privilege]
What my objective is:
During specific days (Sun to Fri) @ 19:00 hours -> Activate airplane mode
On Saturday @ 21:30 hours -> Activate airplane mode
On Sunday @ 08:00 hours -> Deactivate airplane mode
On other days (Mon to Sat) @ 05:20 hours -> Deactivate airplane mode
I am completely new to Tasker. Need your kind guidance. Thanks in advance.
Click to expand...
Click to collapse
sorry, but I think your time description is very confusing.[emoji1] And since you are new to Tasker it would not be very easy to set up the correct time.
The best solution would be:
- create a Google calendar just for this, mark the day, time you want to have airplane mode on as busy/unavailable.
- create a profile based on calendar event, choose the calendar, only act on busy event.
- have the profile do the turning airplane mode on as enter task, and have it turn off as exit task.
hope this helps
What's so confusing about the timing?
From your response, I am assuming (and I may be wrong) that Tasker is not capable of handling multiple and looped conditional triggers.
Besides, if I rely on Google calendar, the whole algorithm may be futile if I go offline. Isn't it?
Sent from my ONE A2003 using XDA-Developers mobile app
sorry, I didn't mean anything disrespect.
Let me re-describe your schedule, to make sure that I understand it correctly:
this is when airplane mode is on
mo-fr: 00:00 - 05:19, 19:00-23:59
sat: 00:00 - 05:19, 21:30-23:59
sun: 00:00 - 07:59, 19:00-23:59
If you still want to use only Tasker for this (and not calendar), you could try the following:
- 1. profile:
day: mon-fri
+
time: 05:20-18:59
->enter task: turn airplane mode OFF!
exit task: turn airplane mode on
- 2. profile:
day: sat
+
time: 05:20-21:29
->enter task: turn airplane mode OFF!
exit task: turn airplane mode on
- 3. profile:
day: sun
+
time: 08:00-18:59
->enter task: turn airplane mode OFF!
exit task: turn airplane mode on
the reason I suggested calendar is, it would be easier to see and manage, should there be a change. The calendar would of course need to be synced, but if there is no change, the previously synced version of the calendar would still trigger the task in Tasker when you are offline.
I'm not sure I understand what you meant by 'multiple and looped conditional triggers'.
In my suggestion, I used 2 conditions - day and time - is that considered multiple? The condition spreads between several days -loop?
Thank you for your time and explanation.
The second reason (the first being the offline issue), I am reluctant to use Calendar is I don't like these small schedules appearing on my Calendar widget all the time.
I am new to Tasker and I am, as expected, fumbling with the myriad of options those are available in here. Without a proper documentation, it is appearing quite confusing for me.
Regarding the "multiple" and "looped", you kinda got those words right. The time schedule for airplane mode ON is from Sun to Fri it's from 19:00 hours to next day 05:20 hours. For Saturday, it starts from 21:00 hours and ends next day (Sun) @ 07:00 hours.
Also, I observed that we are trying to construct two profiles. What I am curious to know is whether the whole thing can be fused inside a single profile using some sort of conditional"if... else..." statement.
- calendar: if I remember correctly, you can choose certain calendar to be shown on the widget.
- time condition: think of it this way, say, you want something from Monday evening to Tuesday morning, you cannot set this just like 20:00 to 5:00 because the part after 23:59 belongs to ANOTHER day. And since your schedule is different between days, it would be difficult/confusing to program correctly.
- if-else: until now, conditions of Tasker can only be A AND B, there is no possibility for an OR, so you will have to split the profile in several profiles to cover all OR situations.
finally, if you still insist on having only one profile, you can use the 'if' function from within the task itself, but this is another story, and could be, with no disrespect, more confusing for beginner.
You can pm me it you need more help with this.
The easiest way to do what you want to do is to create a date profile that runs every Sunday through Friday then add a time profile that runs at 19:00 (use 19:00 for both the start and end time --i. e., from 19:00 to 19:00). Basically, create a task that runs a specific task once at 19:00 every Sunday through Friday.
Your profile should look something like the attached screenshot.
You need to create a separate profile that turns on airplane mode every Saturday @ 21:30 and two other profiles that turn airplane mode off. You'll need 4 separate profiles to do what you want to do.
Related
Has anyone had luck using Tasker app on their Gtablet?
For one, I know almost nothing about programming, and I can't seem to find any decent tutorials on how to program tasks in the app.
I'm trying to make it so that my Gtablet will automatically shutdown if the screen times out for more than, for example, 30 minutes. Does anyone have some guidance or at least a place to start to teach myself how to use this program? I've gone to their wiki and other sites that show profiles and defines what each thing is, but they aren't put together all that well and they skip a lot of beginning steps that are obviously what I need to grasp how to make the most of this program.
Being edited...
johnsonjf said:
Has anyone had luck using Tasker app on their Gtablet?
For one, I know almost nothing about programming, and I can't seem to find any decent tutorials on how to program tasks in the app.
I'm trying to make it so that my Gtablet will automatically shutdown if the screen times out for more than, for example, 30 minutes. Does anyone have some guidance or at least a place to start to teach myself how to use this program? I've gone to their wiki and other sites that show profiles and defines what each thing is, but they aren't put together all that well and they skip a lot of beginning steps that are obviously what I need to grasp how to make the most of this program.
Click to expand...
Click to collapse
I use Tasker extensively on my phone, not so much on my G-Tab, but that is due to my needs, not the app. Due to limitations in Android, Tasker cannot address all situations - you can't use it as universally as you can use similar programs in Windows, for example.
For help, in addition to the home page (http://tasker.dinglisch.net/) and the Wiki (http://tasker.wikidot.com/profile-index), there is the user guide (http://tasker.dinglisch.net/userguide_summary.html) and the Google Groups link (http://groups.google.com/group/tasker?pli=1).
Simplest method for what you want to do: if you set your GTab WiFi to turn off when the screen is off and you have the QuickBoot app (which I have and like), you could set a Tasker Profile something like the following:
Context - WiFi disconnected
Tasker - wait 30 minutes
Plugin - quickboot Power off, if %WIFI ~ off
(As an alternative to step 3, if you have an app that powers off the tab, you could simply run that app as step 3).
This profile will run every time WiFi disconnects. It will wait 30 minutes and, if WiFi is still disconnected, it will power off the G-Tab.
Not perfect, of course - a better way to do it would be to do 30 1 minute waits, checking each time to see if WiFi is still off, and stopping the script if WiFi is on. This requires a variable to measure time and to turn off the GTab once 30 minutes has passed:
Context: WiFi disconnected
Tasker: Variable Set %WIFIOFF = 0
Tasker: wait 1 minute
Tasker: Stop if %WIFI ~ on
Tasker: Variable Add %WIFIOFF + 1
Tasker: Goto Action 8 if %WIFIOFF = 30
Tasker: Goto Action 3
Plugin: quickboot Power off
I could test this tonight, when I get home, if you want.
PM me if you need further help.
Edited original post as now getting. a collection of tasker tasks i have going on and easier to keep them in the first post but Will help below if anybody wants to copy them, also if anyone else wants to post there's that will be good.
1st) have tasker to toggle settings like wifi brightness etc when i get to work. Reverts settings back when i get home. Produces notifications on watch.
2nd) sends a message to my wife when i say launch task 1 that tells her im on my way home.
3) launches a autowear location menu on the watch. In the menu i can select wether i want high accuracy or low and wether i want location services on or off atall.
4) when i charge my phone between 2230hrs and 0625hrs the watch is switched to screen off, Bluetooth off and phone set to vibrate. When its unplugged or after 0625 the watch is switched to always on and phone is muted.
5) mobile data on and off options via autowear.
6) detects when i have lost connection to the watch and immediately turns on GPS to record the location. Then notifies me on my phone with a map view. I fix generators for a living so i need to take my watch of sometimes or when i have a shower in the gym etc. If for whatever reason i forget it which is unlikely i will know where i last had it.
7) every morning when i take my phone and watch off charge it selects a different watchface every morning at random from a predefined list. (needs watchmaker to be installed)
8) using autowear so that when i start My Tracks on the watch it automatically starts my gps task for me.
9) little on screen widget that i can control my Xbox/sky/tv changing channels, volume, play and pause, go to Fifa 15, record that, turn everything off. Accomplished using autowear, autoremote, autoinput, and a redundant tablet.
I have only just began with tasker so my methods won't be the most efficient but they work. If anyone has better ways as i mainly using auto input then please get in touch.
Could you describe which apps you used to pull this off? Thank you
Yeah sure, was a app called Tasker that i used on my phone to create it all and then a tasker plugin called tasker wear i think.
I have since been tinkering with it.
The updated version now has the following options;
1) text the wife I'm on my way home.
2) turns Wi-Fi of, auto brightness on, sync off
3) opposite of 2.
4) closes and returns back to watch face.
With option 2 and 3 i get a notification of what has beebeen switched on/ off.
With option 1 it also activates option 3 ready for when i get home.
Also if i forget to do the above especially switch evereverything on it detects when I'm nearly home and does it for me.
check AutoWear tasker plugin from joao, you can do anything with it in combination with the other Autoapps.
TheKaser said:
check AutoWear tasker plugin from joao, you can do anything with it in combination with the other Autoapps.
Click to expand...
Click to collapse
I'll have a look at that thanks, currently going to create a task that switches between gps and battery saving location as you can't turn location of anymore. So will have it switch to gps when needed and back to battery saving when not.
Also going to see if i can switch to cinema mode when charging and lost connection to the phone together and to revert back to previous or new watch face when undocked and regains connection to phone.
Hi Phil, would love to hear how you get on with that.
Hi rusty,
Just finished putting something together.
I have tasker detect when it's on charge and if between 2230 and 0625, and if so it switches the watch screen to off, and Bluetooth of.
using a profile manger, that detects that the watch it's no longer connected so switches notifications on the phone back on.
The opposite is when it's unplugged it switches Bluetooth back on, turns the watch screen to always on and the profile manager then detects the watch so turns the phone to mute but watch still vibrates.
I can now sleep at night with no lights keeping me awake and the only thing i have to do is plug my phone in.
Just to note it was pretty simple to set up with tasker and autoinput.
TheKaser said:
check AutoWear tasker plugin from joao, you can do anything with it in combination with the other Autoapps.
Click to expand...
Click to collapse
Hi kaser, as you recommended autowear do you have any experience with it as i can't get my head round it and there isn't much on YouTube or Google to help out.
phil gpx said:
Hi kaser, as you recommended autowear do you have any experience with it as i can't get my head round it and there isn't much on YouTube or Google to help out.
Click to expand...
Click to collapse
Hi, sorry for the late reply, I was on holidays.
I do have some experience. You need to download AutoApps from Google Play and suscribe to the alpha testing. Then you can download AutoWear. For this you also need to joing the Google+ community where the developer is always nice and reactive when posting bugs, questions or guidelines. Posting at the community is the best thing you can do since AutoWear is still in Alpha and it improves every day and it is not too straight forward to understand, especially how it communicates with AutoVoice and how commands and parameters are passed to Tasker.
By the way, I have a similar profile telling my girlfriend when I get to work, when I leave work and when I have parked at home coming from work, which automatically trigger depending on my location and connection to my car's bluetooth or work's WiFi. You don't really need your watch for that
Cheers for replying.
I have already downloaded it and played around but can't get my head around the processes of the app.
I followed the guide for the voice screen but cant get new screens up or start tasks etc.
I'm usually pretty good at working things out but cant with autowear.
what is it you are trying to do? Do you have the latest version of tasker?
Yeah i have the updated tasker but just can't work out how to get from the voice screen too say a "4 menu screen" that has tasks i have set up. Not sure what i want to accomplish with tasker next but i know if i can understand autowear it would help.
Have you done anything with autowear.
I have done the above tasks in the first post with autoinput and taskerwear but that is just a series of notifications that you can select to start tasks.
my main use for autowear is to send whatsapp messages from scratch (whatsapp currently only allows to reply to messages).
To achieve this I open an AutoWear Voice Screen by shaking the watch, and say "write to XXXX and say YYYY". This triggers an AutoVoice profile configured to react to "write to (?<contact>.+) and say (?<message>.+) (using Regex)
Inside the task, I do an WhatsTasker plugin contact search of the variable %contact generated by the regex command. Once found, I text the %message to this contact using whatstasker.
The best thing to do is to read the variable descriptions in the task. For example, you create your profile of AutoVoice Recognized. Inside it, before clicking configuration, you can see all the local variables available and their description. These are usable within the task. Same thing goes for any autowear task, they are usable after calling the task.
For example, in my task, after finding the contact, I have an AutoWear confirmation screen with the picture of my contact, his name, and the message I dictated. And following that I have an if %awmessage (the output of this confirmation screen) is different to cancel, then send the message.
Hope this helps a bit!
Thanks buddy, i will try and emulate this tonight once the kids are in bed. Whatsapp was one of the things i have been thinking of doing, just wish there was a way of bringing up a previous conversation without waiting for a new message.
well maybe you can capture the messages as they come, along with the sender's name, and save them in a temp file. Then create an autowear screen that shows the content of this file when requested... but I guess it would be very difficult to make it work perfectly (especially with groups).
I have managed to create and implement a mobile data on and off switch into my interactive notification popup for system settings using tasker, taskerwear and autoinput.
I now have the ability to switch wifi, mobile data, gps on and off as well as high and low accuracy location services and change profiles from one notifaction popping up.
left watch behind
Currently trying to set up a tasker profile that when i get disconnected from my watch will activate gps, stores the location, notifies you where it is and shows you on the map.
Hopefully will never need it but you never know. I.e you leave it in the gym, at work etc
Is there already something that does something similar as struggling at the moment but will crack on if there isn't.
Any one let me know about how to get nearby cell tower ID in a single variable.
Otherwise, how to convert the context in profile as a task.
Ty
Sent from my Micromax A58 using XDA Free mobile app
I'm sorrlearning tasker but i think if you create a new profile that activates when you connect to that cell tower. Then create a task and set variable %whateveryouwantto to %CellID.
You should only have to do that profile once and the variable will be set and you can use it in your profiles and tasks.
On another note i got my lost watch profile working like a charm.
Great Job
TheKaser said:
my main use for autowear is to send whatsapp messages from scratch (whatsapp currently only allows to reply to messages).
To achieve this I open an AutoWear Voice Screen by shaking the watch, and say "write to XXXX and say YYYY". This triggers an AutoVoice profile configured to react to "write to (?<contact>.+) and say (?<message>.+) (using Regex)
Inside the task, I do an WhatsTasker plugin contact search of the variable %contact generated by the regex command. Once found, I text the %message to this contact using whatstasker.
The best thing to do is to read the variable descriptions in the task. For example, you create your profile of AutoVoice Recognized. Inside it, before clicking configuration, you can see all the local variables available and their description. These are usable within the task. Same thing goes for any autowear task, they are usable after calling the task.
For example, in my task, after finding the contact, I have an AutoWear confirmation screen with the picture of my contact, his name, and the message I dictated. And following that I have an if %awmessage (the output of this confirmation screen) is different to cancel, then send the message.
Hope this helps a bit!
Click to expand...
Click to collapse
It sounds great :good:
May you please share your work with screenshots or something else so I can make it work for me?
Thanks in advance and best regards
Hi everone,
I am quite new to tasker and I am trying to manage the following:
1. If my phone connects to my car via bluetooth it should enable wifi tethering
2. Once I leave the car and it disconnects it should disable tethering and enable the ordinary wifi again
However, when I leave my car it automatically disables tethering but it does not additionally enable wifi.
I have one profile (bluetooth connection to car) and one task (enable tethering).
I tried adding a decond task enabling wifi, but that will then disable tehtering and stop the first task.
I tried adding a second profile that enables wifi when not connected to car. But that then aaaalways enables wifi even if i manually disabled it.
Tasker automatically disables tethering once the original profile condition no longer applies. But how do I also make it reinstate the wifi status?
Sorry if this sounds too nooby
Could you possibly export the profile and task as an XML file and share it?
Sent from my Nexus 5X using XDA-Developers mobile app
Of course
I think you've done a full backup of your Tasker. I can't import that without overwriting all my data
Instead, export the individual profiles. Tap and hold the profile to highlight, tap the menu button, export.
Sent from my Nexus 5X using XDA-Developers mobile app
Sorry about that
Here's the profile itself.
I tried adding a wifi on/off switch but that will not reinstate the wifi state it had before the profile jumped into action.
Of course I would like tasker to reinstate the wifi status my phone had before the car connected. So off if off and on if on.
Try this
I uploaded the XML file here
https://drive.google.com/file/d/0B8uRFO5wFVFKNW42cnpNOHl0UlU/view?usp=drivesdk
Tasker will set a variable %WIFI_STATUS recording the current wifi status, then enable the hotspot. I then added an exit task which should trigger once your phone disconnects from the car's bluetooth, disconnecting the hotspot and re-enabling wifi if %WIFI_STATUS was set to "on".
Thank you
Would you mind uploading it here instead of google drive? I cannot access it there.
Sure thing. Attached.
Thank you very much!
I have not figured out how you created the second step (red arrow) yet, but I will soon, hopefully
It seems to be working except that sometimes the second step of turning off the tethering and re-enabling the wifi won't work. Maybe this was just a thing of how fast I turned the radio back off. I will try a real life test over the next few days
Most welcome!
Here's how to create an exit task (red arrow)
https://youtu.be/xbB3INzOz1M
You can find more details here.
http://www.pocketables.com/2013/05/beginners-guide-to-tasker-part-1-5-tasker-basics-new-ui.html
Pocketables' 8 part guide is excellent if you have the time you go through it.
As for wifi not always re-enabling, I would suggest increasing the wait time on the exit task from 3 seconds to 5 or even 10. Android automatically disables wifi when you activate tethering, so I figured you would need give the task enough time to be sure the tethering is fully deactivated before enabling wifi again.
I have found that the problem is in fact tether not disabling.
I am trying to write a If task. At the end of which I added a For loop checking whether or not the variables are identical and if not a Goto will jump back to the beginning... or so I hope ^^
OK, now that I have this running, the final remaining problem is the fact that tasker has to run in foreground. otherwise it will not work reliably. is there a way around this?
this issue seems to mainly concern the exit task. the starting task almosz always works but the exit task does not.
is it possible to enable tasker foreground on the starting task and then disable it in the exit task?
edit: i thought of a temporary workaround
since for some reason the starting tasks always work, I end those with opening tasker^^
since I'm driving I do not really care if it is open or not. and the exit task then closes it so it is gone by the time I use my phone again
but if you or anybody knows of a cleaner solution, I would be happy to give it a try
Why don't you want Tasker to run in the foreground? I've never had any noticeable battery drain from leaving that setting on (Preferences > Run in foreground). I've been using Tasker for years and never had to open the app in order to guarantee tasks would run.
If you're on marshmallow you may need to disable Doze for Tasker though, because that can occasionally interfere with the app too.
Are you sure the exit task isn't running at all? I'm assuming you've tested this by having Tasker do something menial at the start of the exit task such as display a notification.
Sent from my Nexus 5X using XDA-Developers mobile app
The problem with running in foreground is that you always have the two lines
"Tasker
1 profile active"
in the dropdown menu. Like a permanent norification. Unless one can disable this dropdown notification and basically just keep the icon, I do not really like it running in foreground.
P.S.: Yes, I made sure the exit task was not running.
Hello,
Grateful if someone advises on:
I'm trying to automate airplane mode 00:00 - 07:00 in a non-rooted S8 using tasker / sec setting / autoinput. The problem is to unlock phone to come out of the airplane mode in mornings. For this I want to get played a pre-recorded OK Google audio. Which function, in turn, as I recently learned, is only operative during 4 hours since the last usage of the phone.
Question: by which non-sound tasker operation can I simulate "usage" of the phone at, say 3:30 am?
Alert popup and Wake CPU did not help.
Also asking this from Google support is useless I think because the above 4-hour rule is security driven.
Thank you.
Why not just launch an app? Maybe then have AutoInput back out of that app. I would think anything that makes the device behoove it's had screen interaction will achieve your goal.
ktmom said:
Why not just launch an app? Maybe then have AutoInput back out of that app. I would think anything that makes the device behoove it's had screen interaction will achieve your goal.
Click to expand...
Click to collapse
Checked that - not that easy unfortunately. How launching an app can produce screen interaction while the phone is locked at night? Or maybe I miss something and there really is such an app / activity / whatever?
Hello,
I'm going crazy here.... I've installed Tasker on my new Lenovo Tab M7 TB-7305F (7 Inch with Android 9.0 GO - NOT rooted). Tasker works fine. Since I want to kill apps I installed the plugin "SecureTask". And: I succeeded to get it working. Everyting is working fine. Until I reboot. After a reboot: When I try Tasker to execute the plugin-command SecureTask - Tasker waits long and can't execute the plugin. It seems Tasker can't call the plugin SecureTask / can't connect to it. When I manually load SecureTask (Icon on the desktop - only a config-screen comes up - I leave the config-screen with the back-button): After that everything works again. It seems: After SecureTask was loaded once everything is OK. But Tasker can't start the plugin.
Humpf? After a lot of hours of investigating..... I'm out of ideas. Any help?
That sounds like there's a problem getting a background process running after boot for SecureTask. Assuming that all of the permissions for SecureTask have been granted through ADB, I would contact the developer and see what he says.
A work around might be to use Tasker to launch SecureTask after boot. You could then use it to close itself
Thanks... exactly the opinion I have at the moment. In the meantime I found a contact address in SecureTask itself - so I will contact the developer.
Enabling SecureTask after boot by Tasker.... good idea That will be a screen-flickering... but that's at 5 am - so nobody will care about that. I will test this... :good:
Just to report my efforts.... I contacted the support of SecureTask - and got an email-chat within minutes. Incredible support - thank's a lot, John Doe (support of SecureTask)!!!
He told me how to get a logcat. Reason, why it's not working:
BroadcastQueue: TabletMaster Service: not allowed to launch app com.balda.securetask/10110 for broadcast Intent { act=com.twofortyfouram.locale.intent.action.FIRE_SETTING flg=0x14 cmp=com.balda.securetask/.receivers.FireReceiver (has extras) }
=> The OS is blocking the broadcast. No clue why. So it seems my Lenovo Tab M7 TB-7305F has a strange behaviour... no chance to get it working.
Btw: Killing SecureTask with it's own didn't work. So I had to choose now a complete different approach without SecureTask.
airplane mode
Hi, bit off topic maybe, but I saw that this is a quite recent threat and it is involved with SecureTask plugin, so I decided to hook up instead of creating new one
This week I bought Samsung Galaxy Tab S5e. It's operating on Android Pie and UI One interface. I'm reluctant to root it yet (all the more the procedure is not obvious), but I want to recreate as much functionality as possible from my old rooted Samsung tablet So SecureTask plugin is the obvious choice.
I'm trying to find a way to automate turning the airplane mode on/off. On my old tablet I created a profile that triggered airplane mode according the time schedule as soon as Tasker detects that the device is plugged in to a power source. I've tried to recreate this profile with the help of SecureTask. Of course in advance I granted to the plugin all possible permissions using adb and even successfully set it as the device owner. Then I found a secure setting responsible for turning the airplane mode on/off and set appropriate values. And when I test the created tasks, the green circle appears and the quick toggle in the notification drawer turns on, but it seems that the system doesn't listen to the call - the airplane mode actually doesn't turn on. The system seems to listen only when I turn the quick toggle on manually. So I wonder if there is something I'm missing or maybe it is not achievable at all without root on this firmware?
Would be grateful for any insight, maybe from you @ktmom, boss Thanks in advance.
@Lord Sithek, AFAIK, the only way you can toggle mobile data or WiFi radios is after a reboot and that may not work on all devices. Google "long ago" removed the ability to directly control those radios, even with root. Bluetooth does tend to toggle though.
So if it's going to work at all, you would have to toggle off and then reboot.
My opinion is its best to use touch emulations to activate the quick setting tile.
ktmom said:
@Lord Sithek, AFAIK, the only way you can toggle mobile data or WiFi radios is after a reboot and that may not work on all devices. Google "long ago" removed the ability to directly control those radios, even with root. Bluetooth does tend to toggle though.
So if it's going to work at all, you would have to toggle off and then reboot.
My opinion is its best to use touch emulations to activate the quick setting tile.
Click to expand...
Click to collapse
Ok, thanks for the response. I have Auto Input plug installed as well, so I'll give it a shot
ktmom said:
My opinion is its best to use touch emulations to activate the quick setting tile.
Click to expand...
Click to collapse
The problem is that it needs to turn the screen on. I keep my device in book cover so... pain in the arse :cyclops: I think I'll probably switch to "do not disturb" mode, at least it works right away
Sent from my mido using XDA Labs
Marienkaefer said:
Hello,
I'm going crazy here.... I've installed Tasker on my new Lenovo Tab M7 TB-7305F (7 Inch with Android 9.0 GO - NOT rooted).
Click to expand...
Click to collapse
I too just purchased a lenovo Tab M7 TB-7305F (7 Inch with Android 9.0 GO - also NOT rooted).
Sorry for intruding.
Have you found a forum for this tablet?
One specific question I have is with screen rotation. In android pie you get rotation control by turning off auto-rotation in settings. That way when you rotate the tablet a small icon appears briefly in a corner. When that icon is tapped the display rotates. If not tapped on the display does not rotate.
That is what happens in my other android pie devices. But for some reason this icon does not appear on this tab. So I'm looking for a forum for help. Have you found one?
Lord Sithek said:
Hi, bit off topic maybe, but I saw that this is a quite recent threat and it is involved with SecureTask plugin, so I decided to hook up instead of creating new one
This week I bought Samsung Galaxy Tab S5e. It's operating on Android Pie and UI One interface. I'm reluctant to root it yet (all the more the procedure is not obvious), but I want to recreate as much functionality as possible from my old rooted Samsung tablet So SecureTask plugin is the obvious choice.
I'm trying to find a way to automate turning the airplane mode on/off. On my old tablet I created a profile that triggered airplane mode according the time schedule as soon as Tasker detects that the device is plugged in to a power source. I've tried to recreate this profile with the help of SecureTask. Of course in advance I granted to the plugin all possible permissions using adb and even successfully set it as the device owner. Then I found a secure setting responsible for turning the airplane mode on/off and set appropriate values. And when I test the created tasks, the green circle appears and the quick toggle in the notification drawer turns on, but it seems that the system doesn't listen to the call - the airplane mode actually doesn't turn on. The system seems to listen only when I turn the quick toggle on manually. So I wonder if there is something I'm missing or maybe it is not achievable at all without root on this firmware?
Would be grateful for any insight, maybe from you @ktmom, boss Thanks in advance.
Click to expand...
Click to collapse
I don't know if it needs root (I am always rooted), but there is an Airplane Mode On and Off in Tasker, under Net category.
I have a task that checks if %AIR is on or off, and turn on and off accordingly.
---------- Post added at 04:33 PM ---------- Previous post was at 04:29 PM ----------
ktmom said:
@Lord Sithek, AFAIK, the only way you can toggle mobile data or WiFi radios is after a reboot and that may not work on all devices. Google "long ago" removed the ability to directly control those radios, even with root. Bluetooth does tend to toggle though.
So if it's going to work at all, you would have to toggle off and then reboot.
My opinion is its best to use touch emulations to activate the quick setting tile.
Click to expand...
Click to collapse
It still is fine to toggle mobile data on and off (in my case, either Mobile Data 1 or 2 due to having dual sims), as well as wifi, without rebooting. Even works in Macrodroid (the mini Tasker-like app)
Android app Tasker