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 6590879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:21:18+00:00 2026-05-25T17:21:18+00:00

I am trying to connect from a blackberry device to an XMPP server. I

  • 0

I am trying to connect from a blackberry device to an XMPP server. I searched over the web and found the smack.jar file that has the XMPP classes ready for use. So I created a new project and added the smack.jar file to the imported jar files. Then in the project I added the following:

public void login(String userName, String password) throws XMPPException {
    ConnectionConfiguration config = new ConnectionConfiguration(IP, PORT, "gmail.com");
    connection = new XMPPConnection(config);
    connection.connect();
    connection.login(userName, password);
}

The build is successful. Now when running the simulator and starting the project, i am getting the following error:

Error starting test: Module ‘smack-3.1.0’ not found

So I removed the smack.jar file from the imported jar files and added it manually to the classes of the project by adding a new file and selecting the smack.jar. When building the project I am getting this error:

org.jivesoftware.smack.AccountManager: Error!: Missing stack map in: supportsAccountCreation at label: 9

How to resolve this? How to connect to an XMPP server? Maybe smack isn’t the right way!!

Please I need some help here

  • 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-25T17:21:19+00:00Added an answer on May 25, 2026 at 5:21 pm

    It looks like smack is from the andtalk project. Quickly browsing the site, I don’t see any claims of Java-ME support. BlackBerry devices do not run full Java SE code, they can only run Java ME code, so most libraries won’t work. It looks like this is one of them that won’t work.

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

Sidebar

Related Questions

i'm trying to connect from asp web application to tcp server. I did this
I'm trying to connect from one server to another using FTP. By using command
I am trying to connect SQL Server from a Windows service. Now my Windows
I'm trying to connect and fetching source from a SSH server with using PuTTY,
I am trying to connect to a standalone desktop tcp server(java) from tcp client
I am trying to connect to SQL Server 2008 server from Java here is
I'm trying to connect to remote MySQL server with SSL from PHP using mysql_connect:
I am trying to develop a BlackBerry application that will show data from an
I'm trying to connect from a web app to another web app using the
I'm trying to connect from a Windows XP system to an SVN server but

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.