maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Yappari - A WhatsApp Client for the N900 ONLY (https://talk.maemo.org/showthread.php?t=84605)

Wreck 2012-05-31 18:51

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by Mohammed Muid (Post 1215614)
java port. i still have it installed and works fine

Tried reinstalling? And what kind of phone number did you fill in at the start of Yappari? Did you use your country's prefix number?

I have no idea what happens if you don't fill it in correctly so I think your best plan is to react to the Private Message Scorpius send you.

Mohammed Muid 2012-05-31 18:52

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
this is the output::

$ run-standalone.sh /usr/bin/Yappari
Opening Address Book...
Getting list of contacts...
Contacts list retrieved.
Yappari v0.0.2 Build 202
Yappari console test client start
Connecting to bin-short.whatsapp.net:5222 ...
Connected successfully
IMEI: my imei
Password: c36740dd19bbdfb9d1c356536757788c
>> 57
>> 41
>> 0
>> 4
>> 0
>> 15
>> f8050184fc0d5334302d322e332e302d343433a08a
Fri Jun 1 00:51:32 2012
<stream:features>
<receipt_acks>

>> 0
>> 8
>> f80296f801f8017e
Fri Jun 1 00:51:32 2012
<auth>
mechanism=DIGEST-MD5-1
xmlns=urn:ietf:params:xml:ns:xmpp-sasl

>> 0
>> 7
>> f8050f5a2abda7
<< 5
<< f80301388a
<< 8
<< f80296f801f8017e
Fri Jun 1 00:51:33 2012
<stream:features>
<receipt_acks>

<< 5f
<< f8041abda7fc58626d397559325539496a51324d6a4d304e44 67324d4441784e5349736357397750534a686458526f496978 6a6147467963325630505856305a6930344c4746735a323979 6158526f625431745a4455746332567a63773d3d
Fri Jun 1 00:51:33 2012
<challenge>
xmlns=urn:ietf:params:xml:ns:xmpp-sasl
bm9uY2U9IjQ2MjM0NDg2MDAxNSIscW9wPSJhdXRoIixjaGFyc2 V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw==
<receipt_acks>

Challenge: nonce="462344860015",qop="auth",charset=utf-8,algorithm=md5-sess
Response: realm="s.whatsapp.net",response=0b9383f16101cbf15a 9fa0b14d85ee16,nonce="462344860015",digest-uri="xmpp/s.whatsapp.net",cnonce="5sswbp61034",qop=auth,user name="881831043918",nc=00000001
Fri Jun 1 00:51:33 2012
<response>
xmlns=urn:ietf:params:xml:ns:xmpp-sasl
cmVhbG09InMud2hhdHNhcHAubmV0IixyZXNwb25zZT0wYjkzOD NmMTYxMDFjYmYxNWE5ZmEwYjE0ZDg1ZWUxNixub25jZT0iNDYy MzQ0ODYwMDE1IixkaWdlc3QtdXJpPSJ4bXBwL3Mud2hhdHNhcH AubmV0Iixjbm9uY2U9IjVzc3dicDYxMDM0Iixxb3A9YXV0aCx1 c2VybmFtZT0iODgxODMxMDQzOTE4IixuYz0wMDAwMDAwMQ==

>> 0
>> ff
>> f80486bda7fcf8636d566862473039496e4d75643268686448 4e6863484175626d5630496978795a584e776232357a5a5430 77596a6b7a4f444e6d4d5459784d44466a596d59784e574535 5a6d4577596a45305a4467315a5755784e6978756232356a5a 5430694e4459794d7a51304f4459774d4445314969786b6157 646c6333517464584a7050534a34625842774c334d75643268 6864484e6863484175626d56304969786a626d397559325539 496a567a63336469634459784d444d30496978786233413959 5856306143783163325679626d46745a5430694f4467784f44 4d784d44517a4f54453449697875597a30774d4441774d4441 774d513d3d
<< a
<< f80432bda7f801f80164
Fri Jun 1 00:51:34 2012
<failure>
xmlns=urn:ietf:params:xml:ns:xmpp-sasl
<not-authorized>

Login failed
connected(): There was a Protocol Exception
Connection closed.

Wreck 2012-05-31 18:55

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by Mohammed Muid (Post 1215616)
this is the output::

Not sure how smart it is to share your IMEI number.

optional106 2012-05-31 19:10

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
I noticed that some contacts in the original Java port did not show up in the selectable Yappari contact list for me, so i edited the xml file and they showed up just fine.

Does this mean i must choose to run my contacts all either on whatsapp or Yappari ?

Scorpius 2012-05-31 19:46

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by optional106 (Post 1215624)
I noticed that some contacts in the original Java port did not show up in the selectable Yappari contact list for me, so i edited the xml file and they showed up just fine.

Does this mean i must choose to run my contacts all either on whatsapp or Yappari ?

That's very crazy. Yappari and Java port are two different programs. Yappari shows you the contacts from your address book that have the phone numbers in international format.

In every version of Whatsapp for any mobile phone (iPhones, Android, etc) you must edit all your contacts. They have to have the mobile numbers in international format.

Quote:

Originally Posted by Mohammed Muid (Post 1215616)
this is the output::

You should have sent me that through a private message (yes please delete that output in your post).

It says login failed and if your Java port works then it can only be two things:

1.- You registered your Java Port with a different IMEI, but you said it's the same in both.

2.- You typed a different phone number for Yappari than the one you used in your Java Port. Remove this file:
Code:

/home/user/.config/scorpius/yappari.conf
And type it again. Also check in the prefs.xml file of the Java port which phone number you used to register.

malkavian 2012-05-31 22:02

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1215291)
OK lemme rephrase:

1.- Client uploads the whole phonebook? Yes.

2.- Whatsapp servers save that data? No, but they could if they want to.

Meeeeec! XD. It saves all the phones of contacts you ask for their status messages (it's all of your phonebook the first time) and a lot more information. Go to Whatsapp privacy policy webpage and search there for "The Information WhatsApp Collects". That about your contacts data is on "Log File Information:" part.

Quote:

Originally Posted by Scorpius (Post 1215291)
What would you do then if you'd have an Android phone? just not use Whatsapp?

Yes, I won't give my phonebook to a business wich uses so bad privacy policy. I prefer to pay for SMSs and phone calls, or talk with people that use google-talk / MSN Messenger / Facebook-chat.

Quote:

Originally Posted by Scorpius (Post 1215291)
That will definitely work (removing + sign to the contacts).

Well, I suppose that I have to remove all the prefix ( "+34" for Spain).

Quote:

Originally Posted by Scorpius (Post 1215291)
Synchronization is part of the protocol, without it, it's incomplete. I don't think I could avoid the sync... (will think about it).

Well, you have not sync now, so you can, but obviously add and option to activate or deactivate that (and something to add or remove contacts manually) will be more work for you. Thank you for thinking about it. I will be safe while Yappari doesn't send to Whatsapp servers any number without international prefix (and while I don't need to add it to the number of a no whatsapp user).

Scorpius 2012-05-31 22:13

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
@malkavian Even though I do understand your concern I think it's already too late for you. Your phone number is already in several legit Whatsapp users' phonebooks that have synchronized your name and all your information millions of times with Whatsapp servers already...

Also every time you message somebody is also already too late for you and for that person.

And if you think "ok it's too late for me but let's save my contacts' information". Every one of your contacts just need to be in a phonebook of another Whatsapp user.

What I mean is, if Whatsapp saves people contact information, let me tell you this: they ALREADY have EVERYONE IN THE PLANET then saved. Nobody can escape that. Every one knows at least ONE person that uses Whatsapp.

Quote:

I will be safe while Yappari doesn't send to Whatsapp servers any number without international prefix (and while I don't need to add it to the number of a no whatsapp user).
All numbers are sent with international prefix. Every time you send a message, your number and the recipient's number are sent with international prefixes.

It's already too late for everybody.

If you're so concerned my suggestion is to avoid the software at all costs in any of its forms (Yappari, Java Port, Wazapp, etc) and use another IM.

DerCommander 2012-05-31 22:44

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Hi,
after one day using yappari i can tell that it basically works very fine.
I left it running in behind and used AutoConnect to connect to the internet once every hour and then received the messages that were sent to me.

What i noticed is that sometimes, when i click on the yappari statusbar icon, the program won't open. When checking on the terminal i saw that the program isn't running anymore, although there is still the icon in the statusbar. When starting the program again it continues working as it should and the status bar icon opens the program then.
So i just wanted to let you know that yappari is crashing sometimes, but unfortunately i can't tell you the reason because it happened always randomly.

Cheers,
DerCommander

Scorpius 2012-05-31 22:53

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
@DerCommander, thanks for your report. I'm expecting bugs and crashes since it's alpha software. I'm already working in a new version with registration (so more people can use it) and some bug fixes.

I'm also thinking since it's alpha let it write logs in a file like MyDocs/yappari.log so when it crashes you guys can send me that. It'll be a helpful feature that will be turned off when we move to beta/final release.

malkavian 2012-05-31 23:01

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1215692)
And if you think "ok it's too late for me but let's save my contacts' information". Every one of your contacts just need to be in a phonebook of another Whatsapp user.

Well, but I refuse to be set as a user that have given their phone to Whatsapp and to do that to any of my contacts. I have registered with an alias phone from fonyou.com and not with my real phone number. And I asked friends I added in Java Port, to add that number in another contact and not the one with my real number. I want to only add numbers of people that already given their number to Whatsapp inc. If in a future Whatsapp give privacy problems I would be safe, and who nows, maybe I save somebody. I could also try to ask for removing my real number from their databases, as I am not an user with that number and didn't accepted their privacy policy.

Maybe is futile, but I must try.

Quote:

Originally Posted by Scorpius (Post 1215692)
All numbers are sent with international prefix. Every time you send a message, your number and the recipient's number are sent with international prefixes.

Yeah, I now, but if no international prefix, number is not synced and then not sent to Whatsapp servers, is it?

Scorpius 2012-05-31 23:05

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by malkavian (Post 1215713)
Yeah, I now, but if no international prefix, number is not synced and then not sent to Whatsapp servers, is it?

Correct. (1234567890 I hate this 10 char limit).

malkavian 2012-05-31 23:13

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1215692)
If you're so concerned my suggestion is to avoid the software at all costs in any of its forms (Yappari, Java Port, Wazapp, etc) and use another IM.

I would do, but a lot of friends use whatsapp although Google-talk or others are better except for groups.

Edit:Ops, to change the IMEI I have to register again, so I will have to wait your new version.

DerCommander 2012-05-31 23:18

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1215709)
@DerCommander, thanks for your report. I'm expecting bugs and crashes since it's alpha software. I'm already working in a new version with registration (so more people can use it) and some bug fixes.

I'm also thinking since it's alpha let it write logs in a file like MyDocs/yappari.log so when it crashes you guys can send me that. It'll be a helpful feature that will be turned off when we move to beta/final release.

I'm looking forward to the next version.
If you need any help let me know. I'm having much experiences in C++ and python, but unfortunately never did something on my lovely N900. It looks like that your code bases on qt, so maybe one could help then on some parts without any mobile phone programming knowledge.

Regarding the log files: yes, that would be a very nice feature. I would be happy to forward the output.

Cheers,
DerCommander

rayson 2012-06-01 06:49

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
yeah, I tried install and it is working, though no one is online for me to test out the chinese text :-D previously whatsapp java only can display english text

Scorpius 2012-06-01 06:52

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by rayson (Post 1215820)
yeah, I tried install and it is working, though no one is online for me to test out the chinese text :-D previously whatsapp java only can display english text

I wonder if it'll work. I tried special spanish characters like áéíóúñ and they work.

But chinese is Unicode and I think all Whatsapp traffic is UTF-8 so I'm not sure if that will work. Have you tried chinese on an iPhone/Android?

rayson 2012-06-01 07:45

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
tested chinese text working, the other party can read and write back for me to see in chinese text as well, I only got one phone and that's N900 :-D

However, icon/picture not capable showing out, not even any scamble code, think being filter out from display

Scorpius 2012-06-01 07:49

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by rayson (Post 1215832)
However, icon/picture not capable showing out, not even any scamble code, think being filter out from display

If you're referring to multimedia messages or smileys, they are not implemented yet. They are in the ToDo list in the first post of this thread, and that list will be followed in order (more or less).

rayson 2012-06-01 07:51

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
take your time :-) we all have waited for years, no rush to wait for a little longer

davdav 2012-06-01 07:53

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
can we change our status ?

Kaamp 2012-06-01 08:37

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
I just installed it. and it works perfect. really good job!! :D
I'm looking forward for any updates :P

Scorpius 2012-06-01 09:08

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
I implemented the SMS registration (and the phone automatically captures the SMS you don't need to type the code manually) and I tested using it scripts in a web server (so I don't hammer Whatsapp servers).

But now I need to find a friend that is not currently using Whatsapp to borrow his SIM and test it on the device. All my numbers are registered already.

When I test this I will upload the 0.0.4 version and anybody can register using it.

The voice method for registering will be implemented later.

ahmadamaj 2012-06-01 09:19

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
i'm sure many people here will be happy to test it for you

yongjie 2012-06-01 12:52

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
when i 1st time to run it....that display log in...after i quit and run again...there display disconnect.....what happen ?

Stewie34 2012-06-01 13:08

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Hey man are a developer from venezuela, do u speak spanish scorpius???

malkavian 2012-06-01 16:24

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by yongjie (Post 1215933)
when i 1st time to run it....that display log in...after i quit and run again...there display disconnect.....what happen ?

The configuration has been saved in /home/user/.config/scorpius/yappari.conf

If you want to reset it, quit yappari and remove that file. When you run it again it will ask you for login.

Scorpius 2012-06-01 17:29

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by yongjie (Post 1215933)
when i 1st time to run it....that display log in...after i quit and run again...there display disconnect.....what happen ?

I don't think I got that one... Maybe you tried to log in twice so fast. If you wait a little, it'll try to log in again in a minute.

Quote:

Originally Posted by Stewie34 (Post 1215940)
Hey man are a developer from venezuela, do u speak spanish scorpius???

Yes I do. Spanish questions/comments/suggestions are very welcomed through private messages.

Stewie34 2012-06-01 17:50

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Nice im from venezuela city too :), ill wait when the program has almost finish for diwnload and if i have problm i ask u in spanish :'( :D.. I hope u can do it all and easily :S

sb37 2012-06-01 21:13

Seg fault
 
Hoi,

While trying to start the app (V0.0.3) it segfaults.

~ $ run-standalone.sh /usr/bin/Yappari
Opening Address Book...
Segmentation fault
~ $

I had a couple of contacts with only an email adrress. Deleted them. Not all contacts have internationalized phonenumbers.
I don't have segfault probs with any other apps.

Any ideas?

Scorpius 2012-06-01 21:35

Re: Seg fault
 
Quote:

Originally Posted by sb37 (Post 1216139)
Hoi,

While trying to start the app (V0.0.3) it segfaults.

~ $ run-standalone.sh /usr/bin/Yappari
Opening Address Book...
Segmentation fault
~ $

I had a couple of contacts with only an email adrress. Deleted them. Not all contacts have internationalized phonenumbers.
I don't have segfault probs with any other apps.

Any ideas?

Did you follow the instructions in the first post? Looks to me that Qt Mobility is not installed. Try the "apt-get installs" from the first post.

mlwane 2012-06-01 22:03

Re: Seg fault
 
I'm getting this segfault as well here is the output:

Opening Address Book...
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted

and thanks for the great work :)

Edit-- I also made sure that all the Qt Libs were installed

sb37 2012-06-01 22:13

Re: Seg fault
 
Quote:

Originally Posted by Scorpius (Post 1216145)
Did you follow the instructions in the first post? Looks to me that Qt Mobility is not installed. Try the "apt-get installs" from the first post.

yes. i did:

/home/user # apt-get install libqt4-core libqt4-dbus
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt4-core is already the newest version.
libqt4-dbus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
/home/user # apt-get install libqtm-contacts libqtm-systeminfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqtm-contacts is already the newest version.
libqtm-systeminfo is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
/

Scorpius 2012-06-01 22:21

Re: Seg fault
 
Quote:

Originally Posted by mlwane (Post 1216158)
I'm getting this segfault as well here is the output:

Opening Address Book...
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted

and thanks for the great work :)

Edit-- I also made sure that all the Qt Libs were installed

What's the output of the following command:

Code:

dpkg -s libqtm-contacts libqtm-11-contacts libqtm-12-contacts | grep Version
Example:
Code:

root:/root# dpkg -s libqtm-contacts libqtm-11-contacts libqtm-12-contacts | grep Version
Version: 1:1.0.2-maemo4+0m5+0cssu1
Version: 1:1.1.4-0fn~fremantle1
Version: 1:1.2.0-0fn~fremantle3

Also, which version of Maemo do you have? 21.2011.38-1? Do you have CSSU? This is very weird.

A std::bad_alloc at that point might mean you have thousand of contacts and Yappari can't load them...

BertvanDorp 2012-06-01 22:37

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Wow, I love your work and the way you implemented it!

Scorpius 2012-06-01 22:46

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
I found the reason of the crashes. It goes like this: you send a message to somebody who's not online, and then close the window. When the recipient goes online, it will send a delivery receipt. Yappari (since doesn't have chat history) tries to update the message (with a double checkmark) but since you closed the window the message is not found = crash.

Will be fixed in next release.

I need more people willing to test the SMS registration. So far the people that have contacted me live in countries where Whatsapp can't send SMS messages to, but they have been very helpful for fixing other bugs (thanks!!)

davdav 2012-06-01 23:07

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Quote:

Originally Posted by Scorpius (Post 1216177)
I need more people willing to tes
t the SMS registration. So far the people that have contacted me live in countries where Whatsapp can't send SMS messages to, but they have been very helpful for fixing other bugs (thanks!!)

i would be happy to test your app as whatsapp sms's can be sent to me :)

tanrax 2012-06-01 23:07

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
Wonderful application. I am very happy with his performance. If you have notices, would be perfect.

Good job;)

mlwane 2012-06-01 23:09

Re: Seg fault
 
Quote:

Originally Posted by Scorpius (Post 1216170)
What's the output of the following command:

Code:

dpkg -s libqtm-contacts libqtm-11-contacts libqtm-12-contacts | grep Version

here is the out put:
Code:

~ $ dpkg -s libqtm-contacts libqtm-11-contacts libqtm-12-contacts | grep Versio
n
Version: 1:1.0.2-maemo4+0m5+0cssu1
Package `libqtm-11-contacts' is not installed and no info is available.
Package `libqtm-12-contacts' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
~ $

Quote:

Originally Posted by Scorpius (Post 1216170)
Also, which version of Maemo do you have? 21.2011.38-1? Do you have CSSU? This is very weird.

yes i have version 21.2011.38-1, and i have CSSU Testing: Tmaemo3.1

Quote:

Originally Posted by Scorpius (Post 1216170)
A std::bad_alloc at that point might mean you have thousand of contacts and Yappari can't load them...

i have about 120 .. is it too much for the app to load ?? :S

nexus101 2012-06-02 08:11

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
I'm successfully using PETERBJORNX'S JAVA PORT with my real IMEI number. Installation of Yappari works fine. When starting Yapparia, however, the lower left corner shows "connected" for a second or so and then switches to "disconnected".

Does that mean Yapparia does not work for me? Any clue why?

Thanks,
nexus

seanmcken 2012-06-02 09:18

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
im too getting ''disconnected'' error

seanmcken 2012-06-02 09:43

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY
 
here watsapp not working and no one here to help?????


All times are GMT. The time now is 06:51.

vBulletin® Version 3.8.8