daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <resources>
  3.     <string-array name="android_wear_capabilities">
  4.         <item>track_phone</item>
  5.     </string-array>
  6. </resources>
  7.    
  8. <service android:name=".BackgroundService.WearableService"
  9.             android:enabled="true"
  10.             android:exported="true" >
  11.             <intent-filter>
  12.                 <action android:name="com.google.android.gms.wearable.CAPABILITY_CHANGED" />
  13.                 <data android:scheme="wear" android:host="*"/>
  14.             </intent-filter>
  15.         </service>
  16.    
  17. override fun onCapabilityChanged(p0: CapabilityInfo?) {
  18.     super.onCapabilityChanged(p0)
  19.     Log.i("WearableService", "Capability changed: {${p0?.nodes?.size ?: "null"}")
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top