diff --git a/app/src/main/java/cargo/cargocollector/CollectorService.java b/app/src/main/java/cargo/cargocollector/CollectorService.java index d734ace..49106ac 100644 --- a/app/src/main/java/cargo/cargocollector/CollectorService.java +++ b/app/src/main/java/cargo/cargocollector/CollectorService.java @@ -68,7 +68,7 @@ public int onStartCommand(Intent intent, int flags, int startId) { mObdService.start(); // ZMQ Library. - mZmqClient = new ZmqClient(); + mZmqClient = new ZmqClient(mContext); mZmqClient.start(); //Start data aggregator.