Danke Matze, Mulle und Mia für die schnellen Antworten.
@ Matze: Genauer gesagt ist AutoInput ein Plugin vom Verfasser von Tasker und hilft Dir die Rootrechte, die Mia erwähnte, zu umgehen (wenn ich das richtig verstanden habe).
@Mia: Ja, ich habe auch gehört, dass es mit Root rechten gehen soll, bin aber sehr vorsichtig mit Root, da mein Sohn das Handy immer wieder in die Finger bekommt und meistens dort landet wo er nicht soll. Danke für den Link, ich überlegs mir.
@Mulle: Das mir dem Ruhemodus muss ich ausprobieren, hört sich sinnvoll.
Versteh ich das richtig: Zuerst erstelle ich ein Profil, sagen wir mit einer Zeit von 22h-6h
Dann erstelle ich einen Task. Aber hier komme ich nicht weiter. Wie muss denn der Task aussehen (also nicht welchen Namen muss ich dem Task geben) sondern welche Aktionskategorie muss ich auswählen um alles abzuwählen ?
Und dann ...
Sende hier mal die Anleitung in Englisch, wenn Du daraus schlau werden solltest
Yes, using Autoinput.
The Task would go something like this:
Autoinput Global Action: Open Notifications
Wait (125ms) //To give the phone the time to carry out the animations
Autoinput Global Action: Quick Settings
Wait (125ms)
AutoInput Action: Action - Click, Type - Text, Value - <YourNetworkProvider>
Wait (125ms)
AutoInput Action: Action - Click, Type - Text, Value - Mobile data
Wiat (125ms)
Status Bar: Collapsed //Tasker's native action
Points to note:
This will require the screen to be on. You can use a scene to do so. Or, you could use Secure Settings to Wake Device and then double tap (using AutoInput) on the Tasker persistent notification and then use the Go Home action (either Tasker's or AutoInput's, both work) to exit Tasker.
If screen is already on and you're using your phone, this will obviously interrupt your work. I suggest making a small simple scene which flashes on the screen for a short second informing you that Tasker is about to interrupt you.
The wait times are the at the minimum possible value. Lowering it further might cause the task to fail. Increasing it will not affect the task's success but will keep you from using your phone for a longer period.
Empfohlener redaktioneller Inhalt
Mit Deiner Zustimmung wird hier ein externer Inhalt geladen.
Mit Klick auf den oben stehenden Button erklärst Du Dich damit einverstanden, dass Dir externe Inhalte angezeigt werden dürfen. Dabei können personenbezogene Daten an Drittanbieter übermittelt werden. Mehr Infos dazu findest Du in unserer Datenschutzerklärung.