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.
Related
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 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/
Hello guys I installed premium edition of burp few months ago.I can easily intercept the applicaton in web from my pc.But the problem arises when I tried to intercept apps from my Android device. I tried very hard and searchedc any possible solution in the web but nothing worked for me.I keep getting unable to access through proxy server error when I connect burp with my mobile and try to visit a Http site.Also can you tell me how to intercept request from apps like messenger , Facebook For Android etc ...
I think you basically have 2 problems I just answered.
You may be getting an error on your mobile because you have not added the certificate to the device. Easy way to install cert.
I use a program called NTLMaps to proxy a shared internet connection to Burp which routes the App Traffic through Burpsuite. Explained here.
I have downloaded a code for XMPP Android chat client from here.
I want to setup my own XMPP Openfire server with this code, I cant find any config file there, can anyone tell me how to setup my own XMPP server with this application, or maybe I am missing something?
Download openfire from this link and install it on server, you can also install in on your local machine as well , it require Java Run Time Environment to be already installed on your system. There are already lots of tutorials/guides available for openfire installation.
Once you have installed openfire then you can run it alongside any XMPP client. It could be Pidgin, Gajim, PSI or Android based Conversation, Yaxim clients.
I would suggest you to write your own client because if you are new to android you might not be able to grasp completely How XMPP works at client side. I hope it help a little
I have just read that Conversations will automatically look up the SRV records for your domain name which can point to any hostname port combination.
So my problem is solved now. Just read the README.MD.
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.