Notices


Reply
Thread Tools
Posts: 82 | Thanked: 214 times | Joined on Jan 2010 @ Cape town
#1
I figured if I created a thread about porting WhatsApp to the N900, and what I've discovered so far, others could share their knowledge or decided to take a look.

I'm studying for an exam that's in a week or so, but I fired up WireShark, got my trusty Nokia E66 connected to WiFi (with no SIM card, to force WhatsApp to use WiFi) and started logging packets.

Lo and behold, what I got in return cheered me up. It appeared to be nothing other than bog standard XMPP! Maybe, just maybe, it won't be too much trouble to port it over. They might have some proprietary extensions to lock other clients out, but I can't really recall. As I said, exam > WhatsApp
 

The Following 4 Users Say Thank You to cb22 For This Useful Post:
Posts: 101 | Thanked: 91 times | Joined on Feb 2010 @ Dallas TX
#2
good luck on exam, after that start working !

that's great news i guess , we will have to wait and see
 

The Following User Says Thank You to Dr.Marcial For This Useful Post:
efekt's Avatar
Posts: 422 | Thanked: 320 times | Joined on Oct 2009 @ Israel
#3
Isn't WhatsApp a property software, e.g not open source? Wouldn't converting it without the authorization of the WhatsApp team be infringement of rights?
__________________
As long as people will accept crap, it will be financially profitable to dispense it...
 
Posts: 82 | Thanked: 214 times | Joined on Jan 2010 @ Cape town
#4
Originally Posted by efekt View Post
Isn't WhatsApp a property software, e.g not open source? Wouldn't converting it without the authorization of the WhatsApp team be infringement of rights?
IIRC, it has been shown and tested that reverse engineering proprietary protocols for interoperability is perfectly legal. See things like the open source clients for AIM / MSN / etc.
 

The Following User Says Thank You to cb22 For This Useful Post:
bigears5000's Avatar
Posts: 468 | Thanked: 775 times | Joined on May 2010 @ Hereford, England
#5
Might be worth talking to creator of this thread http://talk.maemo.org/showthread.php?t=65168 and see if you can get advice/help.I know it's bbm, but what's app is mentioned.
 
Posts: 101 | Thanked: 91 times | Joined on Feb 2010 @ Dallas TX
#6
I was wondering if Symbian 3 has whatsapp it mostlikely was built in Qt, and if that is true cant we port it to n900 if the source could be available?

i know its propetery, but some reverse engeenering might help the process

just sating

http://www.whatsapp.com/nokia/
 
Posts: 196 | Thanked: 224 times | Joined on Sep 2010 @ Africa
#7
Originally Posted by cb22 View Post
Lo and behold, what I got in return cheered me up. It appeared to be nothing other than bog standard XMPP!
Can you provide the capture file? What SRV record did it look up to connect to? The convention is to use the _xmpp-client._tcp.<domain> SRV record to publish servers clients should connect to. For example:

$ dig +short _xmpp-client._tcp.google.com SRV
20 0 5222 talk3.l.google.com.
20 0 5222 talk4.l.google.com.
20 0 5222 talk1.l.google.com.
5 0 5222 talk.l.google.com.
20 0 5222 talk2.l.google.com.

What "domain" does it use for Jabber IDs (e.g., if you have a WhatsApp account, what Jabber ID would you use in a standard Jabber client to access the account)?

How does the application register accounts? By the Jabber registration feature?

Maybe, just maybe, it won't be too much trouble to port it over.
Understanding how the client works does not necessarily help much in "porting" it over, which traditionally means, making changes to the existing source code to work on a different platform.

It may help in writing a telepathy plugin to make the protocol accessible to the conversations app on N900 (and other apps on other platforms). But, if the protocol is actually XMPP, then there's no need for a separate plugin, if we have the details I asked for above.

Of course, it seems WhatsApp isn't interested in XMPP inter-operation, or they would have made these details available on their website.
 

The Following User Says Thank You to buchanmilne For This Useful Post:
Posts: 41 | Thanked: 13 times | Joined on Feb 2010 @ Australia
#8
any progress on this?
 
Posts: 1,320 | Thanked: 915 times | Joined on Feb 2010
#9
Hey guys.

Please check my thread that I just created, it relates to this but to save me reposting the same thing here is the link

Qt version of PingChat!

Thanks
__________________
Well Nokia do at least know how to build a decent phone, just apparently don't know how to support it..

N900 Died Replaced with N8, Requested E7, "Accidentally Broke E7", Now rolling with an N9 and im loving it!


My Contributions

N900 Conversations Wiki Page
 
ZogG's Avatar
Posts: 1,389 | Thanked: 1,857 times | Joined on Feb 2010 @ Israel
#10
as i understand it uses something like areacodephonenumber@s.whatsapp.net
e.g.
9725454545454@s.whatsapp.net
where 972 is israel code and 54545454 is number (it deletes 0 in the begining)
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:38.