Changes

no edit summary
Line 1: Line 1:  +
<pre style="color: black">
 
This trigger will fire when the device detects you are performing a certain activity such as moving in a vehicle, riding a bicycle or running. You can set a certainty value to control how easily the trigger will fire. A low certainty value is more likely to trigger but could potentially result in false triggers. A higher value should avoid false triggers but could fail to trigger in some cases where it should.
 
This trigger will fire when the device detects you are performing a certain activity such as moving in a vehicle, riding a bicycle or running. You can set a certainty value to control how easily the trigger will fire. A low certainty value is more likely to trigger but could potentially result in false triggers. A higher value should avoid false triggers but could fail to trigger in some cases where it should.
    
The underlying functionality of the Activity Recognition trigger is provided by Google Play services. The reliability of the trigger may be improved by enabling bluetooth, wifi and location services as these are fed into the recognition algorithm.
 
The underlying functionality of the Activity Recognition trigger is provided by Google Play services. The reliability of the trigger may be improved by enabling bluetooth, wifi and location services as these are fed into the recognition algorithm.
 +
</pre>
   −
'''Example Usage'''<br/>
+
'''Example Usage:'''
on bike > play music from spotify.
+
<pre style="color: Red">
 +
Activity recognition (In vehicle)
 +
</pre>
 +
<pre style="color: #3498DB">
 +
Bluethoot configure (Enable bluethooth)
 +
Bluethoot configure (Connect audio device "My car")
 +
Control media (Simulate media button (Play)"Spotify")
 +
</pre>
 +
<pre style="color: Green">
 +
</pre>
 +
When the activity is recognized (in the vehicle) it connects to the car's bluetooth and will start the music on spotify (if your music application is not active in the background, it may need additional configuration.
editors
1,590

edits