asmack vs tigase xmpp library - android

I am working in android chat app.I would like to use one of the following xmpp client (Tigase, Asmack). But I don't know which one to use . Can you tell me which one is better based on performance and features available in library?

For me Asmack worked just fine. I've had no problems with it whatsoever, also smack has a very nice documentation with a lot of examples. Don't know much about Tigase, all I can say is that I had a lot of fun playing around with smack.

Related

How to integrate Push sharp for Android GCM (Pushnotification)?

I am referring this link to implement push sharp in android,
https://github.com/Redth/PushSharp#monotouch-and-mono-for-android-client-application-integration
But given code is in .cs,
So please suggest how to use this library in android,share any kind of documentation regarding this.
Thanks in advance.
Well, the link you supplied suggests that this library works with MonoTouch and Mono for Android. I'm not familiar with those, but you don't have to use them for your client side (even if you use PushSharp in your server).
You can simply use the code samples in the GCM developer guide (which are all in Java).

How can I add chat to an Android app?

I have an android app, and I would like to allow my users to chat with each other.
Searching google, I found a tutorial on android socket programming, but it looks quite complicated and requires me to take care of the server side too.
Is there an easier solution that doesn't require me to basically write it all myself?
I would suggest using one of the free SDK like Scringo (www.scringo.com).
It is very easy to add - basically all you need is to call
Scringo.init(this);
at the end of your Activity's onCreate() method.
No need for server side programming at all.
Here's a screenshot of Scringo in action:
i would suggest using a WebView and using a node.js / now.js chat!
It's very simple to setup!
Another viable solution is to check xmpp protocol and asmack library . I gave it a try a while ago and managed to make it work with gtalk. You can also setup an xmpp server by yourself using their openfire server.
Still better than reinvent the wheel.

RabbitMQ or ActiveMQ for both android and iphone

I need to implement for exam simple chat ( android and ios app ). I need advice based on your own experience what to use, RabbitMQ or ActiveMQ or something else to implement on both platforms on easy way ? Any advice is welcome.
ActiveMQ also works, you just have to include the core library in your Android project.
RabbitMQ works with Android.
See for example: http://simonwdixon.wordpress.com/2011/06/03/getting-started-with-rabbitmq-on-android-part-1/
I also recommend using Google to find more examples, and checking on the rabbitmq-discuss mailing list.

I'm looking for a BOSH XMPP library for Android

I recently wrote a Facebook Chat App for Android using Smack, which is an excellent library and it worked great for that app. I'm currently working on my next chat project on Android and would like to do BOSH, but Smack doesn't support it. I've found a development branch talked about here:
http://community.igniterealtime.org/thread/40768
I was hoping there was something out there that was more stable. Has anyone else found anything?
Thanks!
Every asmack fork I know contains the SMACKs BOSH patches. I have never used them, but I am also not aware of any alternative library that implements BOSH for the Android platform.
To produce custom jars which has got support for BOSH connection. These jars can be found at https://github.com/rajesh-kumar/amqp-xmpp-bosh/tree/master/lib/

Android: asmack(ported) or smack(patched)?

I have searched alot on google and in here to find the best featured API for XMPP client.
I have found the following two:
asmack: .http://code.google.com/p/asmack/
patched smack: http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/
I cant find any comparison of these two APIs on the internet, so maybe you can help me in which one to choose.?
In the original article of the patched smack he inform that TLS does not work (thats fine I should not use that) I consume that the rest works.
On the other hand asmack is very popular but when I read around the net it seems that it is a little more buggy?
What do you advise me to choose?
Thanks!
asmack is almost the same code as smack, basically what they did is some code refactoring, add some extra methods to extension, changed package order, also they replace DNS class and classes related with Sasl and authentication.
http://groups.google.com/group/android-developers/browse_thread/thread/0a8a0fb16752ba52/631dcf2137e79e7f?lnk=raot&pli=1
If you use asmack you wont have major problem.
I do recommend to Avoid asmack In our last project we faced so many problems due open issues :
http://code.google.com/p/asmack/issues/list
other alternatives are avilable:
https://stackoverflow.com/a/5487854/771300

Categories

Resources