| | |
| | | public class MapFragment extends SupportFragment implements View.OnClickListener { |
| | | private boolean isDrawing = false; |
| | | private int pixels = 80; |
| | | private ICEventListener rtcmicEventListener = new ICEventListener() { |
| | | @Override |
| | | public void onCEvent(String topic, int msgCode, int resultCode, final Object obj) { |
| | | if (msgCode == Constant.DEBUG_RTCM){ |
| | | |
| | | CThreadPoolExecutor.runOnMainThread(new Runnable() { |
| | | @Override |
| | | public void run() { |
| | | Log.i(TAG, "title="+(String)obj); |
| | | toolbar.setTitle((String)obj); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }; |
| | | |
| | | private ICEventListener speedListener = new ICEventListener() { |
| | | @Override |