Questions tagged [asmack]

Before Smack added native support for Android in Smack 4,1, aSmack was the build environment for using the Smack library on Android, enabling XMPP protocols.

aSmack is a build environment for Smack that uses an existing Smack source to add additional Android specific patches to smack which

  • use the built in XML parser provided by the Android library
  • add support for DNS SRV lookups

Starting with Version 4.1 is able to run without modifications on Android, so aSmack is essentially obsolete.

564 questions
0
votes
1 answer

asmack pubsub getItems error

I'm trying to publish some information to server using the Pubsub nodes.unfortunately,I failed to retrieve the node that published before.Just very similar as the problem in the following link: …
gothion
  • 125
  • 1
  • 10
0
votes
1 answer

How to get inviter name by xmpp using amack?

By reading asmack source, when create a chat room and invite user to join, the message add a extendsion MUCUser.Invite . public void invite(Message message, String user, String reason) { // TODO listen for 404 error code when inviter supplies a…
Evan
  • 16
  • 2
0
votes
1 answer

read incoming Message packets in pubsub using smack

i am trying to implement pubsub using openfire server and asmack library. i have configured my node in such a way that subscribers has to take the approval of publishers now i am trying to read the Message packet using following code but i am not…
Hunt
  • 8,215
  • 28
  • 116
  • 256
0
votes
2 answers

Update Friends List ListView with Asmack

I'm trying to Dynamically update a Friends list using the Asmack API. For testing purposes I am using my Facebook account. I found that if I login with my connection then use adapter = new ArrayAdapter(this,…
Mike Baglio Jr.
  • 1,990
  • 3
  • 18
  • 19
0
votes
2 answers

Sending files with asmack (or any alternatives)

I'm trying to send a file with asmack with the following: // mConn is an XMPPConnection FileTransferManager manager = new FileTransferManager(mConn); OutgoingFileTransfer transfer =…
Alexander Kulyakhtin
  • 47,782
  • 38
  • 107
  • 158
0
votes
1 answer

Listener for new user request in XMPP

I am trying to setup a chat messanger using xmpp and smack. I am able to connect,login m_connection.connect(); SASLAuthentication.supportSASLMechanism("PLAIN", 0); m_connection.login(userName, password); Also I am able to create new users as…
user1163234
  • 2,407
  • 6
  • 35
  • 63
0
votes
0 answers

Send file is done but actually fail in Asmack android

This is how I try to send a file over XMPP using asmack lib (from the GtalkSms project) and a Ejabberd server: //Configure provider in onCreate() configure(ProviderManager.getInstance()); // Configure function private void…
Kingfisher Phuoc
  • 8,052
  • 9
  • 46
  • 86
0
votes
1 answer

aSmack XMPP filetransfer loops in status "In Progress"

I've changed my asmack library from asmack-issue15.jar to asmack-android-7.jar from Flowdalic/asmack project. Everything runs smooth, but I've a problem with the filetransfer from my server to the android smartphone. The status of the transfer gets…
sbo
  • 951
  • 2
  • 12
  • 25
0
votes
2 answers

Cannot Read Custom Attributes From Message TAG when using asmack XMPP library for android?

This is the XML sent From XMPP Server Side that i want to recieve so that i can send it to my XML parser.
Sheraz Ahmad Khilji
  • 8,300
  • 9
  • 52
  • 84
0
votes
1 answer

Show chat logs history with asmack android

Recently, I try to build a chat app in android with XMPP! I installed Ejabberd, and with connection, I can chat with another user with my android app! But now, I have an issue in retrieve chat logs history! I mean that I don't know how to get chat…
Kingfisher Phuoc
  • 8,052
  • 9
  • 46
  • 86
0
votes
1 answer

compile and build jar of asmack

i want to do some necessary changes by applying patch in asmack library but i don't know how can i compile and build the source and generate jar file from that. can anyone suggest me the steps to do so ? i tried to download the source in eclipse but…
Hunt
  • 8,215
  • 28
  • 116
  • 256
0
votes
1 answer

Android xmpp chat

I need to do a little in app chat for Android application. I'm using the aSmack lib, and I can get that working good. Here's my problem, I need to be able to switch to other bits of my app, but still receive and store new messages and get…
Sam
  • 341
  • 1
  • 4
  • 15
0
votes
1 answer

Not logged in to server while login into a server

I am trying to connect with ejabber using BOSH Manager in android with the help of asmack library. but i am getting following error. Caused by: java.lang.IllegalStateException: Not logged in to server. at…
Hunt
  • 8,215
  • 28
  • 116
  • 256
0
votes
1 answer

How to get the API key & session key & session secret key for FB Chat on Android

I am trying to build a chat app for Facebook in android. I am using the X-Facebook Platform authentication method. How can I get the api key & session key & session secretkey. I read in a tutorial that we get it from the FB by signing in as…
0
votes
1 answer

AIM/MSN chat integration in Android

In the past few days, I tried GTalk/Facebook chat integration with Android Smack and it's working fine. I tried to implement the same logic for AIM/MSN chat integration with Android Smack but it did not work. Is there any special configuration…
Dipali
  • 374
  • 2
  • 5
  • 22