Is there any Openfire smack Alternative for Android chat? - android

I am working on Chat module for Android app. I configured Open fire as XMPP server and currently using smack library in client side development. I am facing some crucial problems regarding chat.
So is there any other open source alternate library of smack?
I search whole day for the solution. But I could not got proper.

I have used Applozic chat SDK. Its worked like a charm for me easy to integrate and customize.
The open source repo link is here. Hope this helps.

I am also still finding the solution.
I think Quickblock would be the alternative.
Reference:
https://community.igniterealtime.org/thread/52092

Till now Smack is the only one java based open source XMPP client Implementation.So you have to use smack to use in android or you can use C++ client library like swiften or gloox as native. But in server side you can use any server developed following XMPP standard.

Related

Use AppRTC with a custom server

I've successfully build the AppRTC for android and I'm able to make videocalls providing the address of the demo app ( https://apprtc.appspot.com/?r=XXXXXXXX )
My question is, how can I make this app work with a custom WebRTC server OR with another WebRTC app ( e.g. https://talky.io/)
I'm a little bit confused about how to achieve this.
I've also followed the tutorials HERE and I'm able to make calls between desktop browser but I have no idea how to connect from the android app.
P.S.
If someone is interested I've built the app following the following links:
WebRTC : ninja build not working (see the comments)
http://simonguest.com/2013/08/06/building-a-webrtc-client-for-android/
You can achieve webrtc with your own server.
Several steps to follow:
1.Build your own HTTP server to provide the html service(i.e. the main page of your webRTC project instead of apprtc main page). In this step I use node.js and node-static(https://github.com/cloudhead/node-static).
2.Build your own signalling server. PeerJS is a good choice. Read the doc files. Also, code you HTML file to support peerjs.
Here is an example of peerjs implementation. It helped me a lot
https://developer.mozilla.org/en-US/demos/detail/peerjs
Goodluck!
Actually you can deploy web version of https://apprtc.appspot.com/ to your own server.
It's written on GAE (Google App Engine) - http://webrtc.googlecode.com/svn/trunk/samples/js/apprtc/
This has been moved to branches folder http://webrtc.googlecode.com/svn/branches/3.53/samples/js/apprtc/
Just register GAE account https://appengine.google.com/ and deploy this web app to it.
Next - you can connect WebRTC Android sample to you own GAE server - https://code.google.com/p/webrtc/source/browse/trunk/talk/examples/android/src/org/appspot/apprtc/AppRTCDemoActivity.java
Find line
roomInput.setText("https://apprtc.appspot.com/?r=");
and replace apprtc server name

Need help understanding xmpp xeps

First I am completely new to programming world.
I am trying to develop an app which will also have a website. I want to have a chat feature in it . After googling I found xmpp servers such as openfire jabber, etc and smack and like libraries. I understand that the the xmpp server can implement general chat features but do I need to install the xep files to get to use xeps?
What do I need to do on the server side and client side to implement the xeps?
You don't need to do anything to implement core XEPs on the server so no need to worry there (especially as you are only doing chat).
I'd suggest prosody.im as a quick easy server to set up and use rather than openfire.
I'd then look at the asmack library if you are doing android development.
Cheers, Lloyd.
I strongly recommend you this book:
Professional XMPP Programming with Javascript and JQuery - Jack Moffitt
I'm building single chat an application javascript+strophejs just reading this book.
Good luck.

AIM/MSN chat integration in Android

In the past few days, I tried GTalk/Facebook chat integration with Android Smack and it's working fine.
I tried to implement the same logic for AIM/MSN chat integration with Android Smack but it did not work.
Is there any special configuration needed for AIM chat integration? Please provide any way or any tutorial or reference link that can solve my problem.
Thanks in advance.
For MSN we can used LiveSDK XMPP Sample for Android
Note: There is some authentication issue in this library, I'm working on it and clear ASAP.
For AIM this API may help to get authentication.

add chat feature in sipdroid using openfire

I am beginner for android application developing.I want to add chat feature in sipdroid using openfire.Can anybody help me how to start to do this?Thanks in advance.
Openfire uses the XMPP protocol, so you may start on reading how to incorporate XMPP in SIP.
Apart from the above article, you can look around for software sip clients that already have this feature and educate from their source code.
Also a good reference is the XMPP java api overview.

using XMPP with a .net server and android client

I have an android application (created in eclipse with java) that talks to webservices on a windows 2008 server using .net webservices. I am very interested in using XMPP for the chat portion of the app, but have not a clue how to implement this. Can someone help me with implementing the XMPP piece on the above server, as well as the client piece in the android app. I am basically looking for a step by step walk through (to include what server side software and client side software needed) as I have NEVER used XMPP and really need to finish this app.
Thanks
1) Find a server.
There are several XMPP servers available if you go to the XMPP site and check their handy list.
Personally, I'm using OpenFire and find it super easy to set up and use. Install, run it, and follow the setup wizard. I would not recommend trying to write your own XMPP server functionality into your own code as it gets complicated quickly. You can easily run a chat server side by side with your web services and have the app on the Client end communicate with both. This still serves up a seamless interface to the user.
2) Find a library for XMPP development on Android.
aSmack is pretty much what most Android devs use for this. (Info, plus link to code can be found here.) If you need more step-by-step help on how to develop this for the Android, I'd suggest searching for/posting more specific questions regarding how to use the library.
I hope this helps.

Categories

Resources