in Technology

LB : Network Strength Detector

Here’s a new Logic Builder:

Display an image with 4 bars. The more the bars, the better the network signal strength. Next to it will be a text box. Values for the current network signal strength will be provided as percentages in this text box. Multiple values will be separated by a new line. Using AJAX, submit the signal strength values to the backend and update the signal strength indicator. To determine the strength, average the last four values. If strength is 0, no bar should be highlighted. If 1 to 25%, show one bar. Two bars between 26 and 50. Three for 51 to 75. Four above 76%.

Happy AJAXing!

Write a Comment

Comment