svanderburg / XMPPTestApp

An example Titanium application demonstrating features of the ti-simple-xmpp library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XMPPTestApp

This is a very simple Alloy/Titanium-based example app for Android and iOS which main purpose is to demonstrate the commonly used features in the ti-simple-xmpp library.

Features

This app deliberately has a bare bones look, but contains many features resembling a mainstream chat application:

  • Login screen to connect on behalf of a XMPP user through a websocket
  • Contacts overview displaying subscribed users, their statuses, and the number of unread messages
  • Adding and removing contacts to personal roster
  • Sending and receiving chat messages
  • Chat states will be set and displayed while chatting, e.g. typing, active
  • Displaying VCard information

Prerequistes

  • Titanium (version 5.2.3 or newer)
  • Alloy
  • ti-simple-xmpp and its dependencies
  • An XMPP server with websockets enabled. When using ejabberd, check if the following lines are present and enabled in the ejabberd.yml configuration file:
request_handlers:
  "/websocket": ejabberd_http_ws

License

This example app is licensed under the Apache Public License (Version 2). Please see the LICENSE file for the full license.

Stuff our legal folk make us say

Appcelerator, Appcelerator Titanium and associated marks and logos are trademarks of Appcelerator, Inc.

Titanium is Copyright (c) 2008-2016 by Appcelerator, Inc. All Rights Reserved.

Titanium is licensed under the Apache Public License (Version 2). Please see the LICENSE file for the full license.

About

An example Titanium application demonstrating features of the ti-simple-xmpp library

License:Other


Languages

Language:JavaScript 98.7%Language:Python 0.8%Language:Nix 0.4%Language:CSS 0.1%Language:Shell 0.0%