Setting silent mode at a specific area by bluetooth on android -


i want developing application can mobile auto silent @ specific area, example: bluetooth device in company meeting room , device name with: "a", want app. set mobile silent mode when enter meeting room, can that? how? can please tell me how or tell me keys of that? thank in advance.

sure, possible. best bet start @ bluetooth interfaces page in android api documents. you'd want have service poll @ interval available bluetooth devices searching 1 you're looking for. if find device, use audiomanager set ringer mode.

the biggest problem effect on battery life. bluetooth discovery takes anywhere 12 seconds perform. if every minute battery dead in no time. you'll have determine if that's users want.


Comments