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)

Scorpius 2014-07-28 00:52

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

Originally Posted by NerdKnight (Post 1434057)
I made some patches to Yappari 1.1.46, this is the changelog:
  • Message notifications with group name instead of sender name
  • Anti-battery drain patch
  • Added UTF-8 codes for some emoji with softbank encoding. (before I received a square from contacts that uses windows phone, looks like it uses the new utf8 encodig)
Here you can download a deb package, and here the source code.

I think this can solve some problems posted recently.

And what about the profile picture patch?!?

And what's that about an "anti-battery draining patch"?

NerdKnight 2014-07-28 02:06

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

Originally Posted by Scorpius (Post 1434059)
And what about the profile picture patch?!?

And what's that about an "anti-battery draining patch"?

I made no patch for profile picture.

I had a problem very similar to what described totalizator, I posted about it some time ago. The "anti-battery draining patch" or 100% cpu usage patch solves this problem, at least for me :).

Scorpius 2014-07-28 03:48

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

Originally Posted by NerdKnight (Post 1434061)
I made no patch for profile picture.

I had a problem very similar to what described totalizator, I posted about it some time ago. The "anti-battery draining patch" or 100% cpu usage patch solves this problem, at least for me :).

I mean, what exactly did you do in the code?

Yeah I know I can compare the source files with diff or something but I'm lazy :P

NerdKnight 2014-07-28 14:06

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

Originally Posted by Scorpius (Post 1434067)
I mean, what exactly did you do in the code?

Yeah I know I can compare the source files with diff or something but I'm lazy :P

mmm, I made this a while ago, I put some network read function in a separated thread (so the gui doesn't freeze when there is some connection problem) and validated the socket connection if is valid before using it.
Here the patch with the battery fix and here the whole patch.

Scorpius 2014-07-29 17:13

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

Originally Posted by NerdKnight (Post 1434099)
mmm, I made this a while ago, I put some network read function in a separated thread (so the gui doesn't freeze when there is some connection problem) and validated the socket connection if is valid before using it.
Here the patch with the battery fix and here the whole patch.

I would actually think your patch consumes even more battery:

1.- Instead of waiting for the I/O system to announce to the application there are bytes pending for reading in the network device, you're polling the network device every second with a timer.

2.- You're polling even when you're not connected. That's why you had to verify if socket is valid (and you used NULL in a C++ program like it were a C program). There's no way to call read() with an invalid socket object since the object had to trigger a signal and to do that it *has* to be valid.

So I'm not sure about this patch.

panjgoori 2014-07-29 17:31

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
as some people are reporting about 100% CPU usage i also face this problem but only when Yappari shows connected but not logged in and when it changes its status from Connected to Logged In everything goes back to normal.

Scorpius 2014-07-29 18:08

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

Originally Posted by panjgoori (Post 1434227)
as some people are reporting about 100% CPU usage i also face this problem but only when Yappari shows connected but not logged in and when it changes its status from Connected to Logged In everything goes back to normal.

This is actually good information. I haven't ever reproduced the problem, but looks like it only happens when you have a bad connection.

panjgoori 2014-07-29 18:49

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

Originally Posted by Scorpius (Post 1434230)
This is actually good information. I haven't ever reproduced the problem, but looks like it only happens when you have a bad connection.

well may be yes. as my cellular internet connection is very slow and also sometimes doesn't even work.

rusuck 2014-07-30 01:38

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
@ scorpius / nerdknight

can you make a fix/patch with the 2 points

- Message notifications with group name instead of sender name
- Added UTF-8 codes for some emoji with softbank encoding.

but wihtout the "Anti-battery drain patch".

Thanks in advance

maldicion02 2014-07-30 19:38

Re: [Announce] Yappari - A WhatsApp Client for the N900 ONLY
 
Hi Scorpius!
There is a way to use Yappari without SIM? The SIM Slot of my N900 has failed and I try to use Yappari only with Wifi.

Grettings!


All times are GMT. The time now is 22:07.

vBulletin® Version 3.8.8