Support #385

PepSubManager

Added by Juan Nava 4 months ago. Updated 4 months ago.

Close
Status:Closed Start date:01/19/2012
Priority:Normal Due date:
Assignee:Frédéric Barthéléry % Done:

0%

Category:-
Target version:-

Description

Hi, I'm new working with Android and Eclipse.
I got your source code, I created a new project in Eclipse and paste your code, almost everything is ok, but the probles is in PepSubManager class because I get this error "+The type PepSubManager cannot subclass the final class PubSubManager+"
please, can you tell me
What I need to do to solve this error?
I saw the "PubSubManager" and is a final class

Thank a lot!

Sorry if my English is no really good! ;)

History

#1 Updated by Frédéric Barthéléry 4 months ago

  • Status changed from New to Assigned
  • Assignee changed from Nikita Kozlov to Frédéric Barthéléry

Hi,

In the original asmack library, the PubSubManager class is final. In Beem, we use a patch asmack library.
You can find all of our patches it source:doc/asmack-beem/beem_patches .
There is a patch which makes the PubSubManager class non final.
You can just use our source:libs/asmack-android-7-beem.jar or build your own version and apply the patches you need.

#2 Updated by Juan Nava 4 months ago

Thanks for your quick answer. I got the correct library and the project is working now.
Thanks for help and congratulations for you project!!

#3 Updated by Frédéric Barthéléry 4 months ago

  • Status changed from Assigned to Resolved

#4 Updated by Frédéric Barthéléry 4 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF