Giter Club home page Giter Club logo

androidxmppclient's Introduction

AndroidXMPPClient

Creating an XMPP Client for Android devices to connect with an XMPP server

A complete explanation of how to connect an XMPP Android Client to a local XMPP Server is provided at http://im-a-developer-too.blogspot.ca/2014/04/creating-android-xmpp-client-using.html

My goal is to create an oprn source XMPP client for Android where

  1. connect to a XMPP server, add new users
  2. provide a nice friends list
  3. interractive UI
  4. able to store chat history or disabling it

Any contribution is greatly appreciated. Feel free to send pull requests.

contact me at [email protected]

References: http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/

androidxmppclient's People

Contributors

gudigundla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

androidxmppclient's Issues

list of chats

an acticity to show list of chats on the opening screen of app

UI Interactive

Improve UI and add a toolbar at the top and in setting dialog box to appear from menu bar

XMPP crashes on start up

I am trying to run the finished version 3 on my emulator from Eclipse. Hi I have not been able to run it as it crashes as right after launching. it seems to be a String out of bound error.
Here is my log file:

08-15 19:27:16.415: E/AndroidRuntime(10112): FATAL EXCEPTION: AsyncTask #1
08-15 19:27:16.415: E/AndroidRuntime(10112): Process: org.apache.android.xmppClient, PID: 10112
08-15 19:27:16.415: E/AndroidRuntime(10112): java.lang.RuntimeException: An error occured while executing doInBackground()
08-15 19:27:16.415: E/AndroidRuntime(10112): at android.os.AsyncTask$3.done(AsyncTask.java:300)
08-15 19:27:16.415: E/AndroidRuntime(10112): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
08-15 19:27:16.415: E/AndroidRuntime(10112): at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
08-15 19:27:16.415: E/AndroidRuntime(10112): at java.util.concurrent.FutureTask.run(FutureTask.java:242)
08-15 19:27:16.415: E/AndroidRuntime(10112): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-15 19:27:16.415: E/AndroidRuntime(10112): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-15 19:27:16.415: E/AndroidRuntime(10112): at java.lang.Thread.run(Thread.java:841)
08-15 19:27:16.415: E/AndroidRuntime(10112): Caused by: java.lang.IllegalStateException: java.lang.StringIndexOutOfBoundsException: length=0; index=-1
08-15 19:27:16.415: E/AndroidRuntime(10112): at org.jivesoftware.smack.ConnectionConfiguration.initHostAddresses(ConnectionConfiguration.java:783)
08-15 19:27:16.415: E/AndroidRuntime(10112): at org.jivesoftware.smack.ConnectionConfiguration.(ConnectionConfiguration.java:148)
08-15 19:27:16.415: E/AndroidRuntime(10112): at org.apache.android.xmppClient.XmppConnectionTask.establishConnection(XmppConnectionTask.java:49)
08-15 19:27:16.415: E/AndroidRuntime(10112): at org.apache.android.xmppClient.XmppConnectionTask.doInBackground(XmppConnectionTask.java:20)
08-15 19:27:16.415: E/AndroidRuntime(10112): at org.apache.android.xmppClient.XmppConnectionTask.doInBackground(XmppConnectionTask.java:1)
08-15 19:27:16.415: E/AndroidRuntime(10112): at android.os.AsyncTask$2.call(AsyncTask.java:288)
08-15 19:27:16.415: E/AndroidRuntime(10112): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
08-15 19:27:16.415: E/AndroidRuntime(10112): ... 3 more
08-15 19:27:16.415: E/AndroidRuntime(10112): Caused by: java.lang.StringIndexOutOfBoundsException: length=0; index=-1
08-15 19:27:16.415: E/AndroidRuntime(10112): at org.jivesoftware.smack.util.dns.HostAddress.(HostAddress.java:32)
08-15 19:27:16.415: E/AndroidRuntime(10112): at org.jivesoftware.smack.util.dns.HostAddress.(HostAddress.java:50)
08-15 19:27:16.415: E/AndroidRuntime(10112): at org.jivesoftware.smack.ConnectionConfiguration.initHostAddresses(ConnectionConfiguration.java:781)
08-15 19:27:16.415: E/AndroidRuntime(10112): ... 9 more
08-15 19:27:17.239: E/OpenGLRenderer(10112): Getting MAX_TEXTURE_SIZE from GradienCache
08-15 19:27:17.247: E/OpenGLRenderer(10112): MAX_TEXTURE_SIZE: 8192
08-15 19:27:17.271: E/OpenGLRenderer(10112): Getting MAX_TEXTURE_SIZE from Caches::initConstraints()
08-15 19:27:17.271: E/OpenGLRenderer(10112): MAX_TEXTURE_SIZE: 8192

Save user info

Saving connection details in the app and creating a new connection when the app is launched

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.