Q: Automatically Detect android device which has just entered in the range of my wifi router If any android device comes in the range of my wifi router I want to send the notification to that device automatically and get the reply when user click of OK button in the notification.
Is this possible to achive ? If yes, any help will be appreciated.
Thank you for investing your valuable time to read this post.

A: Its Possible, By using Bounjour service  you can achieve this.
Bounjour service 
there are some limitation over there. You have to run your service in both a device(For Identifying device/sending data/receiving data).The devices should be in same network.
