Page 1 of 1

Ping anything "n" times from a shortcut

Posted: 19 Feb 2019 07:50
by elektroinside
So my first share :-)

A little flow that is triggered from a shortcut from the home screen, which will ping a google dns server 50 times (can be easily customized in the first tile of the flow).
It will display a toast message with every result, calculate the min/max/average/jitter/loss, count the remaining pings, and finally notify the user in the status bar with the final results.

Not the most optimized, I'm unsure if some conversions are needed (did not debug that much), but it works for me :-)

PS. Tested and working on Android v9 (Pocophone F1 with MIUI 10.2)

http://automagic4android.com/flow.php?i ... a4c6b75698

Re: Ping google 50 times from a shortcut

Posted: 19 Feb 2019 10:16
by elektroinside
Improved version, with some preselected hosts, with the possibility to use custom hosts and the number pings.


http://automagic4android.com/flow.php?i ... 2829de2fc9

Re: Ping google 50 times from a shortcut

Posted: 19 Feb 2019 11:04
by elektroinside
I forgot to include an average jitter time, but that can easily be added.
Jitter is important, current and average, as it gives you a rough idea about the health of your network.