Display toast from adb or network

Post Reply
User avatar
mad_ady
Posts: 7560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 394 times
Been thanked: 296 times
Contact:

Display toast from adb or network

Unread post by mad_ady » Sat Feb 01, 2020 4:24 am

I'd like to inject a command (or something) that can display a brief toast on-screen on ATV. The goal is to let the kids know their cartoon time is almost up (it's always the kids with me, I know...).

One ATV is N2, the other is an unrooted TV.
Anyone know of an app or adb command that does this?

User avatar
rooted
Posts: 7339
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 495 times
Been thanked: 138 times
Contact:

Re: Display toast from adb or network

Unread post by rooted » Sun Feb 02, 2020 3:47 am


mad_ady wrote:I'd like to inject a command (or something) that can display a brief toast on-screen on ATV. The goal is to let the kids know their cartoon time is almost up (it's always the kids with me, I know...).

One ATV is N2, the other is an unrooted TV.
Anyone know of an app or adb command that does this?
You want to remotely send a toast message?

User avatar
rooted
Posts: 7339
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 495 times
Been thanked: 138 times
Contact:

Re: Display toast from adb or network

Unread post by rooted » Sun Feb 02, 2020 3:53 am

Tasker may be able to do this alone, but I believe with this plug-in it certainly can.

https://play.google.com/store/apps/deta ... sendexpect
These users thanked the author rooted for the post:
mad_ady (Sun Feb 02, 2020 4:33 pm)

User avatar
mad_ady
Posts: 7560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 394 times
Been thanked: 296 times
Contact:

Re: Display toast from adb or network

Unread post by mad_ady » Sun Feb 02, 2020 4:32 pm

Yes. Not sure if it can run on ATV, but I will try it, thanks

User avatar
rooted
Posts: 7339
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 495 times
Been thanked: 138 times
Contact:

Re: Display toast from adb or network

Unread post by rooted » Sun Feb 02, 2020 7:57 pm

mad_ady wrote:Yes. Not sure if it can run on ATV, but I will try it, thanks
If you own Tasker you can create your own little "app" using Tasker App Factory.

https://play.google.com/store/apps/deta ... appfactory

You should even be able to add the necessary bit to make it show up in Leanback.

If not let me know and I can generate a Tasker Leanback shortcut for you, it will allow you to launch Tasker from Leanback.

(Edit)
I went ahead and tried Tasker on my ATV and it works, I also made the shortcut for you. Just sideload Tasker and then install this, it will give you a Leanback shortcut:

//cloud.tapatalk.com/s/5e36ad8c693 ... anback.apk
These users thanked the author rooted for the post:
mad_ady (Sun Feb 02, 2020 9:44 pm)

User avatar
mad_ady
Posts: 7560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 394 times
Been thanked: 296 times
Contact:

Re: Display toast from adb or network

Unread post by mad_ady » Sun Feb 02, 2020 10:36 pm

Thanks. I wasn't sure sideloading tasker would work, since it needs a license server. I have bought it long ago, so I'll give it a try.

Post Reply

Return to “Android”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest