Replacing an image resource in an app when connected to Bluetooth

I have two sets of images available (for example drawabl1 and drawable2). My requirement is that when the phone is connected to blutooth with any other device, my app should restart and use the images from drawale2 else drawable1 by default. I can get confirmation of the bluetooth connection, but I'm not sure how to make the app use other reverse images when connecting with other devices.

+3


source to share





All Articles