![]() |
[WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
Thought I'd start a new thread in the dev section for people to post stuff specifically related to porting whatsapp, hopefully I can and other devs can find things much easier if it's in a single dev only thread.
So to start of with Whatsapp uses XMPP according to wikipedia: http://en.wikipedia.org/wiki/WhatsApp So this google code will probably help with that; http://code.google.com/p/qxmpp/ Whats different about whats app is that it allows >1 person to be involved in a conversation, not sure whether XMPP supports this (this shows im not an XMPP expert). The following post in the original thread is very helpful, credit to ColaCheater very very useful post: Quote:
|
Re: [WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
I have successfully decompiled the source for the whatsapp APK.
And can upload this upon request for anyone that wants to save themselves some hassle. I am a Java dev, but currently working on some (>1) QML/Qt based apps for the Nokia N9 plus I have a full time job. Regardless I will try to help as much as I can. |
Re: [WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
Please PM me the link to the APK, would like to look into it and possibly assist if I can. :)
|
Re: [WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
I'm uploading now,
the file contains two things: a) smali decompiled code, this is purely so you can see the XML files. b) Actual source from the WhatsApp APK, this is a zip file inside the WhatsApp-smali-decompiled and has src in the filename. Upload link: http://www.mediafire.com/?ssc3awthw99kl9s |
Re: [WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
Turns out the framework apk i was using was for android eclair.
I has decompiled it but not quite correctly. Seems to get confused with the object type of some variables. |
Re: [WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
Let me quote some useful info from the previous thread for anyone nt willing to navigate through pages and pages of "thank you"s and fanboys complaining.
Quote:
Quote:
I *might* be able to help in future when I finish my current proyect. If there's any more python dev here, patching stuff from telepathy-butterfly and possibly xmpppy might be a cool idea. Whatever you do, don't use some really not-popular language. :) On any case, I've given this some though, and I think we might use some small app to retreive password/etc, and then store it into a file. This means the telepathy plugin can be separate, and requires *no separate gui*. It'd be just a backend, and therefor, reusable in innumerable platforms. Oh, and XMPP *does* support multiple persons in a single conversation. Google Talk is an XMPP service, and most things you can do there, are standard XMPP. For multi-people chat, a "chat room" is created temprarily. Read, as a minimum, the wikipedia page for some info on XMPP. |
Re: [WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
I'm a python dev, I've implemented registration and now I'm trying to get the login part to work.
|
Re: [WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
would icedrebot project help to run the android parts ?
|
Re: [WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
wait for chrome mobile ported, :D
|
Re: [WIP] Porting Whatsapp to Meego/Maemo (N9, N900)
Eventhough I'm still waiting for teamer to write what he exactly knows about the protocol it's great to see other people also working on it.
For my part I wrote in my post about registration everything I know so I can't give you much more information, the only thing I can do is looking for some specific actions in the code, e.g. how an request is build or something like this. Quote:
Oh and maybe it would be better not to share the "original" WhatsApp code here, just the things we found out about how it works. I don't know the legal positon but sharing code that is (c) by WhatsApp isn't that good I would say :rolleyes: The last thing I think maybe would be good to know: Is somebody having a phone with an official WhatsApp version to do some sniffing? This may also would be helpful, especally to get to know i.e. what information the mobile phone really sends u.s.w. -> A Nokia S40 Phone (which supports WhatsApp) would be the best I think because at least that would be the source where most of us are getting their information from?! |
All times are GMT. The time now is 10:38. |
vBulletin® Version 3.8.8