maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Technical Discussion] Porting WhatsApp to the N900 (https://talk.maemo.org/showthread.php?t=68104)

cb22 2011-01-09 17:01

[Technical Discussion] Porting WhatsApp to the N900
 
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 ;)

Dr.Marcial 2011-01-09 17:12

Re: [Technical Discussion] Porting WhatsApp to the N900
 
good luck on exam, after that start working !

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

efekt 2011-01-09 17:40

Re: [Technical Discussion] Porting WhatsApp to the N900
 
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?

cb22 2011-01-09 17:50

Re: [Technical Discussion] Porting WhatsApp to the N900
 
Quote:

Originally Posted by efekt (Post 915986)
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.

bigears5000 2011-01-09 17:50

Re: [Technical Discussion] Porting WhatsApp to the N900
 
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.

Dr.Marcial 2011-01-09 19:30

Re: [Technical Discussion] Porting WhatsApp to the N900
 
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/

buchanmilne 2011-02-02 08:14

Re: [Technical Discussion] Porting WhatsApp to the N900
 
Quote:

Originally Posted by cb22 (Post 915948)
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?

Quote:

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.

werks 2011-02-26 04:41

Re: [Technical Discussion] Porting WhatsApp to the N900
 
any progress on this?

godofwar424 2011-04-16 02:52

Re: [Technical Discussion] Porting WhatsApp to the N900
 
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

ZogG 2011-11-04 12:20

Re: [Technical Discussion] Porting WhatsApp to the N900
 
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)

HtheB 2011-11-04 13:21

Re: [Technical Discussion] Porting WhatsApp to the N900
 
Quote:

Originally Posted by ZogG (Post 1118241)
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)

Yes, but what about the password? :p

teamer 2012-01-08 10:28

Re: [Technical Discussion] Porting WhatsApp to the N900
 
hmmmmmmmm ... what about ... getting a symbian device , conenct it to a router ... a man-in-the-middle-attack so you get all the packets in and out of the nokia ... while running whatsapp ??
but the problem persists cuz of encryption ! DANG !!!

teamer 2012-01-23 13:03

Re: [Technical Discussion] Porting WhatsApp to the N900
 
anyone interested in porting it ?
i can help ! just need a programmer please pm me

didik.wahyono 2012-01-28 01:00

Re: [Technical Discussion] Porting WhatsApp to the N900
 
does anyone understands java? whatsapp release jar file for Symbian S40. I tried to open it i can see the code, but it makes me feel dizzy.. hahaha :D If some one can find out how is the protocol works for this java midlet, maybe we can write it in Qt..

teamer 2012-01-28 13:00

Re: [Technical Discussion] Porting WhatsApp to the N900
 
Quote:

Originally Posted by didik.wahyono (Post 1156779)
does anyone understands java? whatsapp release jar file for Symbian S40. I tried to open it i can see the code, but it makes me feel dizzy.. hahaha :D If some one can find out how is the protocol works for this java midlet, maybe we can write it in Qt..

I got the source code too . the idea is to use telepathy
http://telepathy.freedesktop.org/wiki/Components
http://en.wikipedia.org/wiki/Telepathy_(software)
any developers around ?

didik.wahyono 2012-01-29 04:51

Re: [Technical Discussion] Porting WhatsApp to the N900
 
Quote:

Originally Posted by teamer (Post 1156954)
I got the source code too . the idea is to use telepathy
http://telepathy.freedesktop.org/wiki/Components
http://en.wikipedia.org/wiki/Telepathy_(software)
any developers around ?

What language of source code do you have? C? or Java?

teamer 2012-01-30 14:28

Re: [Technical Discussion] Porting WhatsApp to the N900
 
Quote:

Originally Posted by didik.wahyono (Post 1157232)
What language of source code do you have? C? or Java?

I got everything figured out
how to get the password
how to login
send and recieve IMs

but i know nothing about developing a telepathy client like gtalk or skype etc ...

any hints would help me start coding ?
i have installed the maemo sdk
am using eclipse
just need something to start from
any information about developing a telepathy client like gtalk for n900 would be just what i need ..

http://talk.maemo.org/showthread.php...rting+whatsapp

hobarrera 2012-02-15 15:48

Re: [Technical Discussion] Porting WhatsApp to the N900
 
@teamer
IF it's just XMPP, you don't need to program anything: maemo already has XMPP.
All you'd need is the username, and the password.

@didik.wahyono
I didn't find a link to the jar file at the whatsapp website. Can you send me the link?


In any case, I'm a developer, and I can give you a hand if you like - though I've never done anything for telepathy.

As a side note: why do you want whatsapp? There's plenty of IM protocols which are pretty open, free, and already supported. Why would you want a closed one, closed-source, and even pay-for one?

jamie721 2012-02-16 17:02

Re: [Technical Discussion] Porting WhatsApp to the N900
 
i studied java for quite some time i maybe be able to shed some light on the matter. where can i get the source for this application ?

myname24 2012-02-16 17:20

Re: [Technical Discussion] Porting WhatsApp to the N900
 
Quote:

Originally Posted by jamie721 (Post 1165870)
i studied java for quite some time i maybe be able to shed some light on the matter. where can i get the source for this application ?

search in this thread talk.maemo.org/showthread.php?t=81805
whatsapp source code and everything you might need


All times are GMT. The time now is 09:08.

vBulletin® Version 3.8.8