I have the following problem and can it be solved programmatically in B4A. I am not strong in B4A but something is writing.
I have an Android Auto screen in my car. The connection is by cable and wireless. In the case of wireless it works in such a way that first it automatically connects to the radio via BT. Then Android Auto (application on the phone) detects that this is the Android Auto connection and tries to establish a WIFI connection to function. However, here is a well-known problem that I have a query while retrieving the IP address from the radio's DHCP and it doesn't go any further. If I manually set up such a connection with this name, password and manual IP setting, then when I select it manually, I click the connection and Android Auto starts and works.
Now the cocrete question.
Would it be possible to write a small program in B4A that would monitor Wifi connections and if it appears from the radio it will force it to connect to the one entered manually, or if it connects to the appropriate BT transmitter it will force it to connect to a specific stored Wifi in the phone ?
I have an Android Auto screen in my car. The connection is by cable and wireless. In the case of wireless it works in such a way that first it automatically connects to the radio via BT. Then Android Auto (application on the phone) detects that this is the Android Auto connection and tries to establish a WIFI connection to function. However, here is a well-known problem that I have a query while retrieving the IP address from the radio's DHCP and it doesn't go any further. If I manually set up such a connection with this name, password and manual IP setting, then when I select it manually, I click the connection and Android Auto starts and works.
Now the cocrete question.
Would it be possible to write a small program in B4A that would monitor Wifi connections and if it appears from the radio it will force it to connect to the one entered manually, or if it connects to the appropriate BT transmitter it will force it to connect to a specific stored Wifi in the phone ?