Android xmpp client xabber - android

I have been searching for Android xmpp clients. I came to know about asmack for android. I have also found xabber for android here . I have downloaded the code and able to run it successfully. I am not able to get any documentation of xabber APIs.
Is it possible to use this xabber client for my custom XMPP server.
If u know any other good Xmpp clients for android , please suggest
me.

Smack is Java XMPP library, asmack is a Smack build environment for android, it is well maintained and you can get precompiled libraries. You can view Smack documentation and samples here. Xabber - is one of XMPP clients which uses Smack library(custom fork with some modifications) and you may use official Smack documentation when digging into xabber sources.

You should definitely have a look at Yaxim:
https://github.com/pfleidi/yaxim

Is it possible to use this xabber client for my custom XMPP server.
Yes, but i'm not sure.
If u know any other good Xmpp clients for android , please suggest me.
The best list of applications that implements XMPP is on xmpp foundation own site. https://xmpp.org/xmpp-software/clients/
I hope help you.

Related

Chat implementation Android

I have read many answers on StackOverflow but still found a need to ask this one.
I am making an Android Application in which i have to implement simple one-on-one chat (Just text chat).
I have implemented QuickBlox for now but I would like to implement the core integration into my application. i.e. using a web xmpp server and socket connection. As I dont want to use any third party API. For example Whatsapp has it's own implementation and doesnt use any third party API.
What all I will need for this and what is the process of implementation.
Thanks in advance.
You can do that easily with a Websocket server [can be implemented with Nodejs, Ruby, Java, etc] and WebSockets Client implemented in android.
It is really easy to make a websocket server in nodejs and upload it to Heroku.
Access the websocket server from the android using a java Websocket client.

How to Implement our own (customize) server code for Openfire

I am making an android project for which I need to use GCM CCS. So I chose openfire server
as third party app server. I have Installed and configured openfire server. I have sample app server written in Java, using the Smack library with me https://developer.android.com/google/gcm/ccs.html.
Now I want to implement this code in openfire server. I have followed "Building source code" from igniterealtime documentation (http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/source-build.html#jar).
But still dont get any idea how to edit(write/implement/access) code for openfire server. I have successfully installed and configure ant in my pc.
My basic question is : how to make openfire server to work according to our needs?
I am very new to all this so kindly share any good tutorial or material regarding customized XMPP server. Thanks in advance...
I don't know much about GCM CCS and those things. For openfire development you should look at writing plugins to openfire. One can use openfire API to write plugins to extend the functionality of the server. Have a look at existing plugins and plugin development using openfire.
If your need is to change the functionality of the server. You have already build the server. The source code is there, just look into your required module, start placing logs first, touch minimal functionality and then change it according to your needs. Check the license schemes as well.

Better Way to implement the chat application using XMPP on Android?

Hi i want to implement the Chat application in android using XMPP (To
avoid the GCM notifications because GCM uses request response
process).
i have done the 70 perc functionality using Smack library
and OpenFire server. but after completion of these i came to know
about the QuickBlox SDK. I don't know completely about that but few
people are saying that it is good api by seeing the features..
can any one tell me that is it correct way of implementing the chat
application using smack for xmpp . or we have any other good api which
uses xmpp for android .
The Stackoverflow question "Android and XMPP: Currently available solutions" provides a good overview of XMPP client libraries for Android.
Another good resource is xmpp.org/xmpp-software/libraries.
You can use QuickBlox1 for free.
It provides XMPP server out of the box with lots of features, you can read about features there http://quickblox.com/developers/Chat
Here is an example how to start using QuickBlox with aSmack library http://quickblox.com/developers/Android_XMPP_Chat_Sample
1Quick disclosure: I am a developer at QuickBlox.

how to get connection between android device and xmpp server?

Gibberbot I have been trying to get on Gibberbot from now some time but I am getting only one error. "Unable to sign into the XMPP service. Please try again later. (Detail: Cannot connect to your server. Please check your connection.)"
https://github.com/guardianproject/gibberbot
I've been using asmack library to connect from Android client to the OpenFire XMPP server. Guess, it can be used for any other server, too. This asmack library provides a set of classes to connect, create chats, see roster etc etc. Although this asmack project, as I understand, is not being actively developed recently, it still worked for me fine. Asmack stands for Smack for Android, I guess.

XMPP and Android interaction

I am currently finding about how to build a XMPP client application on android 2.1.I came across this link which somewhat talks about the same problem.I am a newbie to android dev and thus found the solution given there to be difficult to digest.
The system currently has Active MQ as a JMS provider.My job is to fed the messages coming from JMS to the XMPP server and then develope XMPP client on android 2.1 which will listen and show notification to the events pushed by the server.
I have following concerns(which might sound foolish)
1.How do I push the events from JMS to the XMPP server which will in turn push them on android?
2.Which XMPP server implementation I should use?I have 3 options
* Openfire: Very mature (was a commercial product), but sounds like it's heavyweight, written in Java
* Prosody: Lightweight and easy to use, written in Lua. Doesn't have PubSub module yet
* Tigase: Also lightweight, written in Java, supports PubSub
How do I test and setup these servers.Do I need PubSub funcationality for my app?
3.For XMPP client I came across Smack API given here which is updated like 2 years back.Can anyone please tell me how do I make use of it for Android 2.1.If possible can anyone please mail me latest working Smack jar files.
Thanks,
Ameya
Why don't you use eJabberd as your XMPP server ? It seems to me that is has the best support of pubsub and is a very efficient server. We use it since 2 years now without any issue. And on the client side, yes, asmack if definitively the open source choice, but has some drawbacks: it does not support pubsub, and has some very nasty bugs that you will encounter if you dive into some of its functionalities. We had to improve and extend it a lot to implement our full featured social network IM/microbloging/geolocalisation client for Android (called BuddyMob) and now we provide an extended version of Smack as a commercial product (see http://www.ubikod.com/products.htm). Some of our bug fixes has been integrated into the Smack trunk, but most of the extensions we did are not free.
Look at asmack for an android Smack client: http://code.google.com/p/asmack/
You can push messages from JMS to XMPP using Apache Camel - http://camel.apache.org/xmpp.html

Categories

Resources