How to read phone state over bluetoothHow to read phone state over bluetooth

Hi, I try to develop an application that connect to mobile phone and read its phone state (incoming call, outgoing call etc.) like a smart watch. I used a smartwatch and connect to my phone, and then open android studio to look at logcat. I understand the watch using bluetooth Obex service,Hfp,a2dp Rfcomm services but i didn'n any example or instructions for develop a mobile app with using them. how can i do? thanks.

SUBMIT YOUR ANSWER

  |  
 
 
 

Preview :