Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 4
Registered: ‎01-12-2011
My Device: Not Specified

Jabber XMPP chatting application

hi all,

 

I started to develop a chat application based on jabber protocol, after long time of searching I found a client Library called "Jxa", this is the best Library for blackberry (from my point of view Smiley Very Happy).

 

The problem now: I want to upload Media!!!, but this Library support only sending messages as a text messages..

 

So any idea about this issue.

 

Thx in advance,

Mina Gerges,

BB Dev.

New Contributor
Posts: 4
Registered: ‎01-12-2011
My Device: Not Specified

Re: Jabber XMPP chatting application

no answer !!!

Developer
Posts: 45
Registered: ‎06-23-2010
My Device: Not Specified

Re: Jabber XMPP chatting application

[ Edited ]

Hi,

 

there are many solutions. You can switch to different library Smiley Tongue, you can extend it with your own code, you can send jabber messages with type other than chat (I'm not sure wether Jxa allows it) and put chunks of data into them (if text is needed, then you could use Base64).

 

Regards,

Piotr

 

PS. Nobody "has to" answer your questions, so there's no need to use so many exclamation marks. Smiley Wink

New Contributor
Posts: 4
Registered: ‎01-12-2011
My Device: Not Specified

Re: Jabber XMPP chatting application

Thank you Piotr,

 

but which library do u recommend for this issue... .

 

Regards,

Mina Gerges,

BB Dev

Developer
Posts: 45
Registered: ‎06-23-2010
My Device: Not Specified

Re: Jabber XMPP chatting application

[ Edited ]

Hi,

 

you're welcome, Mina. Unfortunately I can't recommend you anything for BlackBerry. You have to search the web for j2me jabber library, maybe something will satisfy your requirements. I tried to use asmack on Android once, but that library has some bugs too and it uses Java 5 syntax, so is not usable in your case.

 

Regards,

Piotr

Developer
Posts: 692
Registered: ‎08-09-2010
My Device: Not Specified

Re: Jabber XMPP chatting application

Hi,

            If you have any example or any refrence link for jabber chat or another then post.Because i have need.

 

Thanks.

Contributor
Posts: 10
Registered: ‎06-07-2011
My Device: Blackberry torch 9800
My Carrier: blackberry

Re: Jabber XMPP chatting application

[ Edited ]

hello,

can u send jabber xmpp group chat sample code or project. my mail id is <removed>

 

EDIT: Personal Information such as e-mail is prohibited for your security. Please review User Guidelines  under section "Be careful."

 

Contributor
Posts: 10
Registered: ‎06-07-2011
My Device: Blackberry torch 9800
My Carrier: blackberry

Re: Jabber XMPP chatting application

hello manmon, i got jxa from net and if i run i got so many errors. so plz can u send your jxa code

New Contributor
Posts: 2
Registered: ‎11-24-2011
My Device: 9800
My Carrier: Blackberry

Re: Jabber XMPP chatting application

Thanks for sharing this.
But I am using this api but client side is not able to connect with server, providing this error as below:
-------------------
"java.io.InterruptedIOException: Local connection timed out after ~ 120000"
-------------------
So kindly help me.
Thanks in advance.
Manoj
BB Dev
Highlighted
Developer
Posts: 52
Registered: ‎05-31-2012
My Device: Not Specified
My Carrier: Airtel

Re: Jabber XMPP chatting application

hello manmon,

 

I got jxa for j2me from http://sourceforge.net/projects/jxa/ and if i run i got so many errors. so plz can u send your jxa code for Blackberry.