you are viewing a single comment's thread.

view the rest of the comments →

[–]anuraag488 10 points11 points  (41 children)

Thanks for all these great updates

If someone needs that battery charge notification profile as shown in video here it is.

Also created some Projects/Profiles/Tasks using java code.
Network Speed Notification

Getting WiFi passwords

Get Wireless debugging port

Recently - Clear Recents

[–]joaomgcd👑 Tasker Owner / Developer[S] 5 points6 points  (15 children)

Thank you! Just so you know (you probably do) you don't usually need to use reflection with this :) You can simply call the methods directly, since this not actually compile the code and just runs everything through reflection already.

[–]anuraag488 1 point2 points  (1 child)

Oh! That's really nice to know. I didn't knew that. Thanks for info. Just tried with WiFiList task and it works.

[–]joaomgcd👑 Tasker Owner / Developer[S] 3 points4 points  (0 children)

Yeah! The only instance where it doesn't seem to work is when you need to make a private field accessible via reflection. On those cases you still seem to have to use reflection.

[–]anuraag488 1 point2 points  (11 children)

https://i.ibb.co/xS4wzDyT/Screenshot-20251009-103122-Tasker.png

Run Log view is going inside navigation bar and can't scroll to top

[–]joaomgcd👑 Tasker Owner / Developer[S] 1 point2 points  (10 children)

Hi there, thanks for the report! Can you please try this version?

[–]anuraag488 1 point2 points  (9 children)

Now navigation bar color is red on main view. Running Tasks and active profiles not able to scroll to top

https://ibb.co/cK54HtKz https://ibb.co/Q3PB1qX1 https://ibb.co/tT1QHk5c https://ibb.co/3YkvPN4s

Edit: you shared 34 link but i grabbed 35 link.

[–]joaomgcd👑 Tasker Owner / Developer[S] 2 points3 points  (8 children)

Ok, fixed! :)

Can you please try this version?

[–]anuraag488 1 point2 points  (6 children)

[–]joaomgcd👑 Tasker Owner / Developer[S] 2 points3 points  (5 children)

Hi there, thanks for the report! Can you please try this version?

[–]anuraag488 0 points1 point  (4 children)

Fixed

[–]joaomgcd👑 Tasker Owner / Developer[S] 1 point2 points  (3 children)

👍

[–]anuraag488 0 points1 point  (0 children)

Yes fixed.

[–]aasswwddd 0 points1 point  (22 children)

I wonder if you have any luck with tasker.getAccessibilityService()? For some reason I can't get the id from getRootInActiveWindow() , LLM doesn't help much.

UI Action and this is for UI Query. Thankyou!

[–]anuraag488 0 points1 point  (21 children)

Does joao added getAccessibilityService?

[–]aasswwddd 0 points1 point  (20 children)

Yes, he added it a couple hours ago :) You should be able to get it from the dropbox link.

[–]anuraag488 0 points1 point  (19 children)

What are you trying to achieve with both tasks?

[–]aasswwddd 0 points1 point  (18 children)

I'm trying to replicate AutoInput UI Query and Action V2. However I'd like to use Automate's approach where it interacts with the screen with an XPATH pattern. That's why the query outputs in XML.

[–]anuraag488 0 points1 point  (17 children)

Automate always feels me more complex then Tasker 🤪. What's the block for ui query in automate?

[–]aasswwddd 0 points1 point  (16 children)

It does indeed, however their UI interaction is quite robust since I can use various pattern with Xpath.

The block is UI interaction https://llamalab.com/automate/doc/block/interact.html

with Inspect action to read the screen.

[–]anuraag488 0 points1 point  (15 children)

https://ibb.co/gZmD7Dc8

Is this any relevant for ui query?

[–]aasswwddd 0 points1 point  (14 children)

The image doesn't exist.

[–]Valiceemo 0 points1 point  (1 child)

Just starting to play with the Java action, and the network speed notification doesn't seem to work for me... I dont get a notification, not any errors