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)

malkavian 2012-07-04 16:27

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

Originally Posted by Scorpius (Post 1231852)
A final note, Whatsapp in EDGE (2.5G) is very bad...

Except when really needing speed, I am always connected in 2.5G mode and Yappari works fine. Obviously when receiving a call, I get disconnected, but aftewards reconnected without problems. I save a lot of battery not using 3G all the time.

Scorpius 2012-07-04 16:31

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY - v0.0.15
 
I'd try to implement a better disconnection detection in Yappari but it's hard with what Whatsapp protocol gives me. There are "pings" to avoid being disconnected from the server, that Whatsapp client has to send every 5 minutes, but servers don't send an answer (to check if the server is alive for example). To detect an inhibited connection (that's fairly often in 2.5G) with Whatsapp is very hard...

I'll think of something that can help...

malkavian 2012-07-04 23:42

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

Originally Posted by Scorpius (Post 1231871)
There are "pings" to avoid being disconnected from the server, that Whatsapp client has to send every 5 minutes, but servers don't send an answer

Well, then I supose that Yappari will do a reconnection every 5 minutes if disconnected, doesn't it? I don't a big problem and I think that every you can do will make Yappari eat more battery. Maybe a button to manually "reconnect now" could please the user if (s)he can't wait 5 minutes.

I received two more times (that's 3 in total) the whatsapp update message.

Scorpius 2012-07-04 23:45

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY - v0.0.15
 
The thing is that when the connection is REALLY bad (2.5G or less) sometimes the connection is lost and the Maemo network stack can't detect the disconnection and it still looks like it is connected (even if you check netstat using terminal).

You will receive the Whatsapp update message until the next release.

malkavian 2012-07-05 00:00

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY - v0.0.15
 
Well, so.... have you time (and the code) to modify the Maemo network stack? If not, maybe you will get crazy to get a solution for Yappari :confused:

But if you could do it, would be great ;)

Next release... ummmm... have I heard group management and per-group disable notifications? :cool:

llucax 2012-07-05 06:21

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

Originally Posted by Scorpius (Post 1232091)
The thing is that when the connection is REALLY bad (2.5G or less) sometimes the connection is lost and the Maemo network stack can't detect the disconnection and it still looks like it is connected (even if you check netstat using terminal).

You will receive the Whatsapp update message until the next release.

what about using tcp keep alive? you can detect disconnections very quicky changing the socket parameters for keep alive to send just a couple of probes.

http://tldp.org/HOWTO/html_single/TC...O/#programming

(or man 7 tcp)

mlwane 2012-07-05 11:15

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY - v0.0.15
 
@Scorpius

I have been using Yappari for a while now and it is working fine, I have noticed some bugs though; when typing in arabic language using the physical keyboard the upper case letters do not register correctly instead it registers the english upper case letter(eg. if I press "shift + M" I should get the letter "ء" instead I get "M" ) I hope this is easy to fix.

also if a group contains an emoji in its name it appears as a square

Thanks a lot for your great work :)

bozoid 2012-07-05 11:39

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY - v0.0.15
 
Thanks for the acknowledgement Scorpious.
Appreciate it & your effort so far.
It was jst a report of an observation :)
Thing is, I use google chat, fb chat which both use XMPP but don't get this prob. So, thought u might b interested to know.

Jst tried 3G again, battery drained approx 50 pcnt faster... sigh. wish N900 had a 3000mAh slim battery...

kh

reinob 2012-07-05 11:40

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

Originally Posted by mlwane (Post 1232298)
also if a group contains an emoji in its name it appears as a square

[ Notwithstanding that I don't see why a group name would include a special Japanese character -- but hey, who am I to judge anyone ] those "emoji" characters are part of the Unicode specification, so there's nothing special Yappari would need to do to show them.

All you need is a font that includes those characters. No idea about which one. My Firefox 14 running on Windows XP also does not show "emoji" characters. I don't expect any built-in font the N900 will do better than that.

Michaelyu 2012-07-05 12:54

Re: [Announce] Yappari - A WhatsApp client for the N900 ONLY - v0.0.15
 
I would like to ask Can hit Traditional.


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

vBulletin® Version 3.8.8