To detect whether the devices like cellphone or USB storage have connected to the tablet, and to determine whether WiFi, bluetooth or GPS (devices inside the tablet) is open, and additionally to detect some status like its
power status. What should I do to handle all these scenarios? Thanks in advance for your answer!