I want to send listview from one device to other device like chat app.
Someone can help me and give idea or one way how to do this and which services i need to use to make it work?
On Server Side Install Ejabberd Of Openfire ,I will Recommend Ejabberd
https://www.digitalocean.com/community/tutorials/how-to-install-ejabberd-xmpp-server-on-ubuntu
Think Link Will Help You To Install Ejabberd
In Android Side
Install Asmack.jar and Follow This Tutorial
http://xmpp-tutorials.blogspot.in/
Related
I want to build an Android application using XMPP protocol for sharing real-time data. For this, first of all, I have to setup XMPP Server and best server to use is Openfire. I tried to install this server on my Windows PC, but unable to setup correctly.
This is the download link https://www.igniterealtime.org/projects/openfire/ from where I have downloaded the Openfire.exe file. After Installation it opens a browser window with URL=http://localhost:9090/ but the page shows "This site can’t be reached localhost refused to connect. Search Google for localhost 9090 ERR_CONNECTION_REFUSED"
Can anyone help me to resolve this issue or suggest me the installation procedure? Also if you have any other suggestion to use another XMPP server kindly let me now. I want to transfer data in real-time from one Android device to another.
Thank you for reading my post and replying back.
I am trying to deploy a XMPP server on a remote host like example.com, and create a simple App in Android studio as a client, Several people will be able to install this Instant Messaging(IM) App on their android phone and start chat with each other over the internet.(Similar to Telegram)
What I have done:
I have installed Openfire on windows locally.
I found a simple source code for android studio, and could configure it to work with Openfire locally. Right now I am sending and receiving messages in Genymotion simulator between users I have defined in Openfire.
Problem:
1- I want to deploy Openfire or any other XMPP server on my own host which my classmates can install my android App and able to talk with each other. Fortunately, couldn't find step by step solution.
2- For test purposes, is there a free Openfire web hosting site to deploy my own server and text my android client with it?
3- Or if you have any experience with Xabber, And Conversations clients please comment here, I couldn't use Xabber, it is connecting and reconnecting, and couldn't figure out how to add friends in Conversations client to send messages.
there are many free hosting sites available.. but it might be little slow
I have used these two,
thefreecpanel.com
byethost.com
but I think you cant install openfire on it, as it has setup that you need to run (.exe file), but this setup is only for first time
you will have to host them on a virtual machine on a cloud.. try azure for students, i think in student free account you can make a virtual machine.
I have checked conversations and it is too good. ChatSecure was also good but had too many issues.So, I have made my own xmpp functions and classes
I am new to Android programming.I have completed the basics though and wish to learn XMPP for making a chat application on Android. I've gone through tutorials, but have not got the way to use a custom pc as server for the application.I want to use my laptop as a server for sending messages between 2 android devices.My laptop should be able to recieve and direct the messages between the two.Can anyone please help me get started?
First of all, you need to install in your laptop a XMPP server. Here are a list of available ones. People used to say Openfire is easy to install and configure, but to production purposes Ejabberd (linux and mac only) seems to be more robust.
To develop your app, you can use Smack, which is large well documented, with code snapshots to connect to a server, create a chat, send and receive messages etc.
I want to implement chatting in my android app without using any third party API's like Jabber etc., How can I do it?
I want to implement it using Socket programming, but no exact Ideas to do it, Please help me!
Thanks in advance...
Just create a server in one device and a client in another device and connect the both using wifi hotspot in one of your android device.regarding the server and client code u will get many easily if u google it once. remember the client and server should be connected to a same network(wifi hotspot of any one of your android device).
I need to test the C2DM service. I have already implemented the service in my Android app. Before starting coding the third party server which gonna send the notifications i would like to test my app.
Is there any tool working on Windows (preferably with an UI) which allow me to enter the registration_id of my phone , the account used into C2DM and a message.
I'm looking for a jar or an exe , don't bother to propose php or any web server based script , i can't install any server or interpreter on the computer which have access to internet :'( .
Thanks
C2DM is now depricated.
Use Android GCM http://developer.android.com/guide/google/gcm/gs.html
Finally build my own command line tool based on this article . Probably faster than keep searching a ready to use tool.
I got this to work to run as the server in VB http://www.androidsnippets.com/vbnet-server-side-code-to-send-c2dm-messages
Seems to work nicely, hopefully that's the direction you were talking about.