simon-xisystems / atakMqttPlugin

Demo ATAK Plugin for MQTT publish/subscribe
7 stars 1 forks source link

Android Eclipse Paho MQTT service failed #1

Open kanagarajan0709 opened 3 years ago

kanagarajan0709 commented 3 years ago

Hi there,

I am able to compile and load the plugin to ATAK app on target Android device Samsung S8. I do see the same problem as you mentioned in your README , unable to start the paho client service.

2021-09-07 16:17:15.326 3835-4200/? W/ActivityManager: Unable to start service Intent { cmp=com.atakmap.app.civ/org.eclipse.paho.android.service.MqttService } U=0: not found

Could you confirm if it's the same problem ?

Also I have another question , I was able to load and run successfully few other paho android client(version 3.0) examples (like one listed below) , https://github.com/zsasko/mqtt-android-sample. But I don't understand the reason for failure seen in ATAK Mqtt plugin. I appreciate if you could share your feedback regarding this issue.

Thank you !

simon-xisystems commented 3 years ago

Its about as far as I managed to get, I think its something to do with being abstracted away from the main application class. It may be something to do with what context the paho client service is trying to run as.

kanagarajan0709 commented 3 years ago

Okay , i will go through them. Thank you for letting me know.

simon-xisystems commented 3 years ago

Not sure if you have seen it, but if you are interested in ATAK and MQTT -> check this blog post out https://www.ballantyne.online/middleware-atak-and-the-soldier-system/

kanagarajan0709 commented 3 years ago

Not sure if you have seen it, but if you are interested in ATAK and MQTT -> check this blog post out https://www.ballantyne.online/middleware-atak-and-the-soldier-system/

Thanks , Yes I have gone through that , it was helpful to get started. I would like to get MQTT working with ATAK. Currently I am stuck with the problem which I mentioned before related to context usage.

rob-baily commented 2 years ago

Hi gents, I wanted to let you know that I have done some research on this and posted some notes at https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/issues/104#issuecomment-1190524190 It seems the current implementations won't work out of the box and need some fairly major rework (and maybe some restricted functionality) to work within ATAK as a a remote service.