Is there a way to disable a Service in a certain Android version? I don't want versions 4.2 and lower which do not support Android Wear to launch my WearableListenerService.
Is there a way to say, "I don't want to launch this Service if you are on version 4.2 or lower"?
<service android:name=".MyWearableListenerService">
<intent-filter>
<action android:name="com.google.android.gms.wearable.BIND_LISTENER" />
</intent-filter>
</service>
You don't need to do it. As version that don't support Wear will NOT use Wear sync capabilities WearableListenerService won't be run anyway.