Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Lost Prevention

OP klau1

24th March 2014, 02:51 AM   |  #1  
OP Senior Member
Thanks Meter: 359
 
1,654 posts
Join Date:Joined: Jan 2008
It looks like we might be able to use Tasker to force GEAR Watch to notify us JUST IN CASE we are ABOUT to leave our phone behind:

Thanks for fOmey, who discovered a broadcast that occurs when the GEAR is outside of LOCKING Proximity.

Because using Bluetooth Connection Status is NO good, it remains connected for too far a distance that by the time the Bluetooth LE disconnects, you're already 10s of meters away from the phone.

The unlocking Proximity triggers when you are just 1 meter away or so.

Quote:
Originally Posted by fOmey

Hmmm I had it ! For the life of me cant remember what it is tho.. ill have a look for you now.



EDIT:

This appears to be the broadcasts (unconfirmed tho!)

android.accessory.device.action.ATTACHED
android.accessory.device.action.DETACHED



Although if you want to just detect if the gear is connected, the easier way to do it is to check the bluetooth status... State -> Net -> Bluetooth status.. I like to use the MAC address as the identifier.

Post Reply Subscribe to Thread

Tags
lock proximity, lost prevention
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes