Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Android - Differences between old and new version of Java Paho client

I noticed last week that I could only consume up to 0.4 in the public maven repository.  I assumed this was because the other versions for some reason were not ready to be published and that was a different process.


On Mon, Jun 23, 2014 at 5:55 AM, Andy Piper <andypiperuk@xxxxxxxxx> wrote:
I've tried this with Paho 0.9 in the latest Android Studio and I have it working without disconnections between both mosquitto running on my local machine (10.0.2.2) and also between iot.eclipse.org (which is the new URL for m2m.eclipse.org).

On thing this did highlight is that I don't think our Maven repo is set up correctly beyond 0.4. We should also publish the Gradle rules so that it is easier to consume 0.9 / 1.0 in Android Studio etc. Currently I had to manually copy the jar into my project to make it work.


On Fri, Jun 20, 2014 at 12:24 PM, Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Thanks. I'll try it out myself if I get the chance.

Ian


On 06/20/2014 11:12 AM, Sergio Torassa wrote:
absolutely nothing but "lost connection" message
I'll make some other tests and let you know about possible new hints

sergio

On 06/20/2014 11:58 AM, Ian Craggs wrote:
Sergio,

there's nothing that I'm aware of that should cause your problem. Do you have any more information about the problems you are seeing? Error messages or exceptions for instance?

Ian

On 06/19/2014 04:31 PM, Sergio Torassa wrote:
Hi all

I have an old Android app (4.0.3) based on org.eclipse.paho.client.mqttv3.jar that worked perfectly.
Now I moved to org.eclipse.paho.client.mqttv3-0.9.0.jar and it does not work anymore.
In particular it disconnect the client anytime a message arrives or I publish a message and I need to reconnect.
Also it does not receive any message.

I put my MQTT test app on StackOverflow asking for help but without success so far.
this is the pointer: http://stackoverflow.com/questions/24258887/mqtt-on-android-connection-lost

I refactored the test app to use the old jar and it started perfectly working.

Is there a particular point I need to be careful about moving to the new release?

thanks
sergio
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev

--
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Committer on Paho, Mosquitto

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev



--
Andy Piper | Kingston upon Thames, London (UK)
blog: http://andypiper.co.uk   |   skype: andypiperuk
twitter: @andypiper  |  images: http://www.flickr.com/photos/andypiper

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev




--
http://gplus.to/andersab
-ba

The blue 'e' is the program you use to download a browser.

Back to the top