Customize smack on Android

Hey guys, whats up?

I am trying to customize the smack library to change the type of message. Which is the easiest way to do that? Any suggestions?

I tried to extend the MessageType class but it’s final, so I couldn’t.

I am trying to customize the smack library to change the type of message
Never, Never, Never do that. There is a good reason why Smack doesn’t allow you to do it.

Use a extension element if you want to tag a message.

Sorry, but wasn’t my choice… I am developing the Android version of a chat app that uses a custom type (to identify the type of message)… The iOS version was realeased a time ago, so we already have clients using that… The iOS library allow developers customize that… but I am facing this problem now…