I'm currently trying to create a library for Android Wear watchfaces. Watchfaces in Android Wear are implemented as a service module. The Watchface Service needs to extend android.support.wearable.watchface.CanvasWatchFaceService.
My idea is to write a class that itself extends CanvasWatchFaceService and implements all needed methods for the watchface and will call some B4A Subs with raiseEvent() which will draw the watchface. In the B4A Service module I wanted to extend the class from my special service class.
Unfortunately the #Extends attribute is not supported in Service modules. So I'm stuck with my idea. Why is #Extends not supported in Services? Should be no problem if the class itself is a subclass of android.app.service.
My idea is to write a class that itself extends CanvasWatchFaceService and implements all needed methods for the watchface and will call some B4A Subs with raiseEvent() which will draw the watchface. In the B4A Service module I wanted to extend the class from my special service class.
Unfortunately the #Extends attribute is not supported in Service modules. So I'm stuck with my idea. Why is #Extends not supported in Services? Should be no problem if the class itself is a subclass of android.app.service.