Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 10-14-2011, 02:03 AM   #1 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 117
subharb is on a distinguished road
Default Can't Connect to XMPPRoom

0 down vote favorite
share [fb] share [tw]


Im using XMPPframework to create a chat for iphone. Im trying to connect the user to a certain chat room, but I can't do it.

This is the code I have:

PHP Code:
BOOL activado = [salaChat activate:[[self appDelegatexmppStream]];    
[
salaChat joinRoom];
[
salaChat sendMessage:@"HELLO"];

BOOL unido = [salaChat isJoined]; 
Being salaChat a XMMPPRoom object.

"activado" is always true but "unido" never.

test_android is the username and "retiro" is the room id. Maybe the mistake is there but I tried many ways and still nothing.

Any ideas?

Thanks.

Last edited by subharb; 10-14-2011 at 02:05 AM.
subharb is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 410
9 members and 401 guests
7twenty7, mer10, QuantumDoja, Retouchable, RobTaku, SLIC, tim0504, yys
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,925
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:35 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0