I am trying to create a watchface for android wear which graphically shows calendar events. For this to work I require Android mode supporting the android.support.wearable.provider classes.
It took a while for me to discover that the for android wear I actually require a slightly different class:
and not the:
But the editor shows the “import cannot be resolved” error. So I tried to manually copy the wearable classes.jar file from the Android/Sdk/extras/google/m2repository/com/google/android/support/wearable/x.x.x/wearable-x.x.x.aar file into the code folder of my sketch, but that resulted in build errors. Deleting the jar file from the code folder results in successful build! So I was confused about the editor showing the error in the code.
Still i didn’t manage to get to the calendar events in android wear.
Q: Is there anyone who successfully used the android.support.wearable classes in their processing sketch willing to share his solution with me?