Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4012570
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:15:49+00:00 2026-05-20T09:15:49+00:00

I am using asmack xmpp client in an android app I am working on

  • 0

I am using asmack xmpp client in an android app I am working on and would like to use compression. Ive found the setCompressionEnabled but when I try it it tells me I need smackx.

ConnectionConfiguration config = new ConnectionConfiguration("ip", 5222, "service");
config.setCompressionEnabled(true);
xmpp = new XMPPConnection(config);

After doing some research into the source it seems it only needs the compression classes from the smackx.jar. Even after taking all of the necessary classes in the jar and building them in my project, it does not seem to transfer or receive data. I dont get an error at any point.

I was wondering if anyone has gotten it to work or if I should begin combing through the asmack source.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:15:50+00:00Added an answer on May 20, 2026 at 9:15 am

    If anyone runs into this issue in the future you need to bring all the files in from this directory

    http://www.google.com/codesearch/p?hl=en#yyB_8MyGHIo/plugins/FTP/tags/release-0-9-5/com/jcraft/jzlib/ZInputStream.java&q=ZInputStream&sa=N&cd=1&ct=rc

    There doesnt seem to be a jar out there that runs on android and has these files, so just bring them in one at a time with the proper package name. The problem was I was missing a file, so make sure you bring them all in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the asmack XMPP with Android, but I have a problem. I would
I've developed a simple xmpp chat client (for Android, using asmack library). Now, I
I'm trying to write a simple XMPP application on Android using asmack, but I've
I am working an XMPP client for both Android and iPhone. I have been
I'm using asmack XMPP with android code. I'm logging-in the XMPP server just fine,
Using the HTML5 <canvas> element, I would like to load an image file (PNG,
Using Lightbox for a photo gallery and would like to initiate the function by
I am trying the basics of setting up XMPP communication between android phones using
Using Rails 3.2.0 with haml and sass: I Would like to link an external
Using Xcode4.2.1, with a basic PhoneGap template based app. (I say template, but I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.