All Available Features in MUC Bot:
- mem user
- kick user
- ban user (ipban user)
- grant mod., admin, owner
- add bot commander
- remove bot commander
- users greeting., etc
Requirements:
- Android 4.0.4 (Ice Cream Sandwich) or Above
Download
Download Full Source Code Available on my Github
STEP 1 : Add following dependencies in app-level build.gradle
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'org.igniterealtime.smack:smack-android:4.1.4'
compile 'org.igniterealtime.smack:smack-tcp:4.1.4'
compile 'org.igniterealtime.smack:smack-extensions:4.1.4'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'com.android.support:recyclerview-v7:23.1.1'
}
STEP 2 : Create a singleton class for making AbstractXMPPConnection universal throughout app
STEP 3 : Create a New Service class for creating xmpp connection to the server and connection Listener to handle connection state & other xmpp basic capabilities on Service Create and run this service in Foregroung as well: