I am trying to send massages from a connectiq app to an Android app. I used transmit like this:
Communications.transmit(interventionID, null,new TascCommListener());
and I have this class for ConnectionListener:
class TascCommListener extends Comm.ConnectionListener
{
static var SUCCESS = 0;
static var FAILURE = 1;
hidden var mCallback;
function onComplete() {
mCallback.invoke(SUCCESS);
}
function onError() {
mCallback.invoke(FAILURE);
}
My app isn't working after I added these lines, I haven't any error but I have one warning :
WARNING:
Class 'TascCommListener' does not initialize its super class, 'ConnectionListener'
I am newbie. What should I do to handle the situation?