diff --git a/build.gradle b/build.gradle index 3b02ad1dc..815337b80 100644 --- a/build.gradle +++ b/build.gradle @@ -242,6 +242,7 @@ task javadocAll(type: Javadoc) { "https://jxmpp.org/releases/$jxmppVersion/javadoc/", "https://minidns.org/releases/$miniDnsVersion/javadoc/", ] as String[] + overview = "$projectDir/resources/javadoc-overview.html" } } diff --git a/resources/javadoc-overview.html b/resources/javadoc-overview.html new file mode 100644 index 000000000..fa0b99026 --- /dev/null +++ b/resources/javadoc-overview.html @@ -0,0 +1,31 @@ + + +

Overview

+ +

Smack is a library for client-to-server XMPP connections to perform real-time communications and data exchange. This includes, but is not limited to, instant messaging and group chat. More genericly speaking, it allows you to easily exchange data in various ways: For example fire-and-forget, publish-subscribe, between human and non-human endpoints. The use cases include M2M, IoT, and many more.

+ +

Smack is a pure Java library, open-source and highly modular. It runs on Android and Java SE. The API strives to be easy to use but yet powerful.

+ +

Key Advantages

+ + Smack is extremely simple to use. Sending a text message to a user can be accomplished in only a few lines of code. + +
+AbstractXMPPConnection connection = new XMPPTCPConnection("mtucker", "password", "jabber.org");
+connection.connect().login();
+
+Message message = new Message("jsmith@igniterealtime.org", "Howdy! How are you?");
+connection.sendStanza(message);
+  
+ +

Smack doesn't force you to code at the protcol level of XMPP. The library provides intelligent higher level constructs, often called Managers, which let you program more efficiently. Other examples of those constructs are the Chat and Roster classes.

+ +

Smack comes with APIs for easy machine-to-machine communication. You can set any number of properties on each message, including properties that are Java objects.

+ +

Smack is open-source under the Apache License 2.0, which means you can incorporate Smack into your commercial or non-commercial applications.

+ +

About XMPP

+ +

XMPP (eXtensible Messaging and Presence Protocol) is an open protocol standardized by the Internet Engineering Task Force (IETF) and supported and extended by the XMPP Standards Foundation (XSF).

+ +