Android Question How to show dinamically the wifi quality/availability

EduardoElias

Well-Known Member
Licensed User
Longtime User
Hi there...

This is my problem: I have tablets android in use in a restaurant application.

And in some places due to excess of other wifi networks around and something else, the signal is not good

and the user lost the connection with wifi and my app cannot post the order on the network server.

What I wanted is to dinamically show to the user a very easy notification to identify if it lost connection, like a traffic light signal, so the user would position itself differently so the tablet can reconnect and can send the information.

What is the best way to do so? It needs to be something dynamic and should provide imediate information to the user, it needs to be quick on the refresh of this information.

thanks....

Eduardo
 

EduardoElias

Well-Known Member
Licensed User
Longtime User
I am using HttpUtils2 version 2.00 along with B4A 3.82

I post http request against my Rest Server (basic http server) in the local network, and wait for an answer (that is commonly pretty quick), however due the instability of wifi the application sometimes cannot post the request.

There is also UDPSocket that I use to broadcast a signal over the network, when my server wants to "wake up" my app to request for changes on the server side.
 
Upvote 0

EduardoElias

Well-Known Member
Licensed User
Longtime User
That is a good idea, I will check that either.

But, related to wifi connection, is there a way to implement something ? Or even if it says that is connected it does not mean it will send over?

I want to give to the user the more realtime possible information about connection quality. Few seconds is an eternity for a busy restaurant.
 
Upvote 0
Top