![]() |
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
Quote:
And yes I would get sued if I name it like that anyway. |
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
Hi scorpius. I'm also really appreciate all the work on Yappari.
One of the reason for me to keep N900 as my main phone. I made some modification in yappari's GUI. 1. add timeout in settings option, because 3G and 3.5G connection from my operator is not stable. I prefer use 2.5G for yappari, but in latest version from yappari, the connection always time out with default value. So I add time out setting. http://s30.postimg.org/ylzt3aych/screenshot02.png 2. I also change select contact when create chat button was clicked as window, so it did not automatically closed when viewing a contact info. http://s7.postimg.org/tmk58374r/screenshot01.png |
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
Quote:
The read timeout value changes what value exactly in the code? |
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
Quote:
When I change that value to higher number, timeout didn't happen. So I add read timeout setting. |
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
Quote:
If you change it to a higher value, the GUI should freeze more often in bad connections. If you change it to a lower value, the GUI should response better, but your battery will last a lot less. It doesn't really has anything to do with the socket timeout, which is 300 seconds (5 minutes). If you read the code you'll see that no matter what value you set there, it's inside a while loop so it will still try to read until it reads what it needs to read, or until the socket times out and throws an exception. |
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
this is my implementation of reading btw: https://github.com/CODeRUS/mitakuulu...eader.cpp#L214
|
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
voted for your app. and thanks for your all hard work.
|
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
Quote:
At first I thought implementing Yappari as single-threaded (like it is right now) will save a lot of battery. So it's event-based. Now I'm not sure. Maybe the user experience would be better with just two threads and a dbus communication between the two. Now it's too late to fix it :D |
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
not too late, just reimplement all public functions to slots and connect all the magic: https://github.com/CODeRUS/mitakuulu...lient.cpp#L911
|
Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
Quote:
But I think I can live with that. Because if it is set to 1000, I can't connect at all when on 2.5G. It says connecting, then connected, and then timeout. It's keep on looping like that without really connected. So far, 3000 will make yappari connected normally without time out. I'm still unsure because I haven't really read all the code and how it worked, but really thank you for your explanation. |
| All times are GMT. The time now is 03:49. |
vBulletin® Version 3.8.8