Apr 2, 2015 Replies: 2 This is a very, very simple project implementing a slide switch with B4A code only. Track flag1 and flag2 to know the state of the two switches (i.e are the switches on or off). Nothing other than the core library has to be enabled. Attachments JHSswitch.zip JHSswitch.zip 12.4 KB · Views: 1,412 Last edited: Jul 7, 2015 Click to expand...
This is a very, very simple project implementing a slide switch with B4A code only. Track flag1 and flag2 to know the state of the two switches (i.e are the switches on or off). Nothing other than the core library has to be enabled.
Johan Schoeman Expert Licensed User Longtime User Apr 6, 2015 #2 The attached project refers. The top horizontal switch should switch on/off the Bluetooth of your device while the right vertical switch (rounded corners) should switch on/off the WiFi of your device. Nothing has been assigned to the left (square) vertical switch. It uses inline java code to enable/disable Bluetooth and Wifi. Attachments JHSswitch1.zip JHSswitch1.zip 13.4 KB · Views: 1,023
The attached project refers. The top horizontal switch should switch on/off the Bluetooth of your device while the right vertical switch (rounded corners) should switch on/off the WiFi of your device. Nothing has been assigned to the left (square) vertical switch. It uses inline java code to enable/disable Bluetooth and Wifi.