Closed dureo closed 7 years ago
You need to tell it where to send runnable. The UI cause ur trying to update the UI in the callbacks? Noob here...am I right?
Ok, now it works and I understand it better, thanks.
Please tell me what u used inside disatch function?
I'm trying to conenct with a camera but onConnected() or onClosed() are never called.
I create ActionCamera like this
`ac1 = new ActionCamera(new ActionCameraListener() { @Override public void onConnected() { super.onConnected(); connFeedback.setText("Connected to camera " + SSID1); }
and try to connect with this camera using
ac1.connect("tcp:" + ip + ":7878");
I'm sure that ip is correct (I tested it) but nothing happens with ActionCameraListener. However, dispatch() is being called .
Anyone can help me? thanks