×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    XMPP in symbian ?

    Hi All,

    I am planning to use XMPP in symbian to communicate with GTalk and Open fire servers. Is their any open source project / libraries to do this? or any one tried implementing XMPP? please gives me some docs and links to go through. I have seen many open source c lib's for XMPP but not sure how to port it to symbian.

    Please some one provide me help.

    Thanks
    Srivatsan D

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: XMPP in symbian ?

    See http://opensource.nokia.com/node/24

    Or you could use the OpenC/C++ plugin
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  3. #3
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Re: XMPP in symbian ?

    Hi Paul,

    Thanks for excellent link. It really helped me. Can you plase share your views/ideas how to start implemting XMPP in symbian.

    Once again thanks for the good link.

    Thanks,
    Srivatsan D

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,750

    Re: XMPP in symbian ?

    Implementing and porting are two different things.
    If you want to port, download some open source implementation and try to build it using Open C/C++.
    If you want to implement, read the specification on http://xmpp.org, and you can get some ideas from http://discussion.forum.nokia.com/fo...d.php?t=146868

  5. #5
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Re: XMPP in symbian ?

    Hi wizard_hu_,

    Thanks for the reply.

    One quick question, which is the better approach? porting or implementing? As i am very new to Open c/c++, i dont know which side to put my step.

    I have gone through the http://discussion.forum.nokia.com/fo...d.php?t=146868, but i have a problem in getting connec status. I am getting -34, which means timeout error. Whether i am missing anything here?

    RSocketServ serv;
    serv.Connect();
    RSocket sock;
    sock.Open(serv,KAfInet, KSockStream, KProtocolInetTcp);
    TInetAddr addr(KInetAddrLoop,5222);
    TRequestStatus stat;
    sock.Connect(addr,stat);
    User::WaitForRequest(stat);
    console->Printf(_L("Connect status: %d\n"),stat.Int());

    Please le me know your comments...

    Thanks,
    Srivatsan

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,750

    Re: XMPP in symbian ?

    -34 is not KErrTimedOut: http://wiki.forum.nokia.com/index.php/Error_codes
    Unfortunatly I am not sure if loopback should or should not work, but you may also want to try what happens if you supply the "real" IP address of your PC (assuming that you are experimenting with the emulator, having an OpenFire server installed and running on the same machine).

  7. #7
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Re: XMPP in symbian ?

    Hi All,

    I am using iksemel-1.2 for XMPP. The link given by paul ( http://opensource.nokia.com/node/24 ) is really helpful but i trying to change few things. I have made UI (an exe application), to which i have imported iksemel-1.2 alone and skipped gizmo's xmmpparser and also modified utility.c file file under iksemel-1.2 source folder.

    Now i problem is how to proceed next. I want to connect to gtalk server and just want to retrieve the XML data sent back be server. So later on i ll add parser and etc.

    As far as now, i have not got any doc. regarding to iksemel-1.2. So i am i dilemma how to proceed further and which methods have to be used.

    Please some one help me. wizard_hu_ and paul, pls correct me i am wrong. Also suggest me some other approach if am going wrong.

    Thanks,
    Srivatsan D

  8. #8
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Re: XMPP in symbian ?

    Hi,

    I have implemented XMPP in symbian, but i have a problem in RSocket.
    iSocket.RecvOneOrMore(iBuffer, flag, iStatus, iDummyLength);
    Here i don't know how to track the end of last packet received. Since i was unable to track the reception of last packet i don't know when i have to send the next XML data.

    Is their any way to track the reception of last packet from server ?

    Thanks,
    Srivatsan D

  9. #9
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Re: XMPP in symbian ?

    Hi All,

    I have used Gizmo's IKSEMEL XMPP parser for my XMPP application. I can now connect to open fire server, show my presence, chat and retrieve my buddy list. I can parse the other stuffs but fails in Buddy list parsing.

    XML Sent:

    <iq from='abc@testserver.com/mysample' type='get' id='roster_1'>
    <query xmlns='jabber:iq:roster'/>
    </iq>

    XML Received:

    <iq to='abc@testserver.com/mysample' type='result' id='roster_1'>
    <query xmlns='jabber:iq:roster'>
    <item jid='aaa@testserver.com'
    name='aaa'
    subscription='both'>
    <group>Friends</group>
    </item>
    <item jid='bbb@testserver.com'
    name='bbb'
    subscription='from'>
    <group>Friends</group>
    </item>
    <item jid='ccc@testserver.com'
    name='ccc'
    subscription='both'>
    <group>Friends</group>
    </item>
    </query>
    </iq>

    How can i parse the above XML data with IKSEMEL parser? i need to extract jid and name from the above stuff.

    Please help me...

    Thanks,
    Srivatsan D

  10. #10
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Bangalore
    Posts
    285

    Re: XMPP in symbian ?

    Refer RFC 3921 & RFC 3920 for XMPP documentation
    Regards
    Shashi Kiran G M

  11. #11
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Re: XMPP in symbian ?

    Hi Shashi Kiran,

    Thanks for the reply. I have managed my self to parse the buddy list with IKSEMEL.

    Regards,
    Srivatsan

  12. #12
    Registered User
    Join Date
    Feb 2007
    Posts
    49

    Question Re: XMPP in symbian ?

    Hi ,

    I also want to develop XMPP client for Symbian S60 3rd edition, I have just started with chat application given in the example code. I need help how to login with gtalk server using chat application. I want to know how to merge the gizmo_xmppxmlparser library with chat application for parsing the xml resopne .

  13. #13
    Registered User
    Join Date
    Mar 2009
    Location
    Indonesia
    Posts
    45

    Re: XMPP in symbian ?

    Which one should I use regarding this problem?

    gloox
    IP*Works Internet Toolkit
    Iris
    oajabber
    QXmpp

    Tx in advance.

  14. #14
    Registered User
    Join Date
    Feb 2010
    Posts
    1

    Re: XMPP in symbian ?

    Quote Originally Posted by harapan View Post
    Which one should I use regarding this problem?

    gloox
    IP*Works Internet Toolkit
    Iris
    oajabber
    QXmpp

    Tx in advance.
    QXmpp builds fine on S60. You will have to disable the FILE-logging, to make it running fine.

    Manjeet Dahiya

  15. #15
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: XMPP in symbian ?

    Hi all,

    Can you please help me, how to disable logging from gloox library?
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

Similar Threads

  1. How to develop XMPP client for symbian
    By sumanthgwn in forum Symbian Networking & Messaging (Closed)
    Replies: 22
    Last Post: 2010-06-30, 17:19
  2. Symbian C++ or MDIP: some newbie questions
    By sgalmeida in forum Symbian
    Replies: 2
    Last Post: 2006-12-30, 08:57
  3. A little survey regarding Java vs Symbian C++
    By Olnex in forum Mobile Java General
    Replies: 0
    Last Post: 2006-11-01, 09:00
  4. Replies: 2
    Last Post: 2003-08-19, 16:39
  5. setting of Series 60 MIDP SDK for Symbian OS version 1.2 for networking
    By servigo in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2003-07-31, 07:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×