maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] qgvdial: Google Voice client for Qt platforms (https://talk.maemo.org/showthread.php?t=56397)

epage 2011-03-19 02:04

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
Quote:

Originally Posted by uvatbc (Post 970697)
New build! And a surprising new feature:
qgvdial is now able to dial back into the Gmail GV interface.
What this means is that if you select the "Google Talk" entry in the list of registered phones and make a call, then the callback will be in the Gmail interface.
Why surprising? Because I was surprised at how quickly I managed to make it work.

Yeah, some people had previously looked at this but I didn't see anything come of that. I look forward to stealing this :)

I don't think I've gotten your new build yet so I'll hold off on comments till then except the following

EDIT: That's right, this still requires the use of a special windows-only plugin, right?

Quote:

Originally Posted by uvatbc (Post 970697)
This could require a UI re-design. Also, the inbox and contacts update are optimized so that only the data since the last modified time is picked up and no more... Unless of course you long-press Refresh - in that case, it does a no-hold-barred full refresh.

I've not dug through too much of your code but it looks like you always download all inbox items. The contacts it looks like you do partial updates on. From scraps I've seen it looks like a downside to your contacts approach though is handling of the separate login requirements of regular google. That sound correct?

uvatbc 2011-03-19 02:59

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
Quote:

Originally Posted by epage (Post 970709)
Yeah, some people had previously looked at this but I didn't see anything come of that. I look forward to stealing this :)

Steal away! But before you think it does more than it actually does:
This feature does not mean that qgvdial is now a fully independent dialer. It only indicates that it's calling back into the browser based GV plugin is possible. You still need gmail open on your desktop.

I'm hoping that the next step in this direction is possible. If it is, it will be *the* killer feature: qgvdial should be able to use the inbuilt web browser plugins capability to initiate a callback into the gmail interface and completely bypass all sip/skype/phone requirements.
Naturally, this would work only on desktop machines at the moment.
Later, if I can figure out what the plugin actually does, I can attempt recreating that so that it works even on Maemo and Symbian.

Aah the possibilities are endless!
Now all I need is a time turner and a ton of money so I can quit my day job and hack at it. If wishes were horses, then this beggar would ride!

Quote:

Originally Posted by epage (Post 970709)
I don't think I've gotten your new build yet so I'll hold off on comments till then except the following

I've not dug through too much of your code but it looks like you always download all inbox items. The contacts it looks like you do partial updates on. From scraps I've seen it looks like a downside to your contacts approach though is handling of the separate login requirements of regular google. That sound correct?

I start the download of all inbox items and stop the moment I get something that is older than the newest entry that I have.
Regarding contacts: yes, I get the contacts from the regular Google contacts - because of a few reasons:
1. the regular Google contacts API actually is an API unlike GV.
2. I can ask the server for all updates since a given time. Much better than what I'm doing for the Inbox items. gcontacts api also provides what has been deleted
3. All this means much less processing on my side, implying less CPU time, implying more battery life.

uvatbc 2011-03-19 03:06

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
@epage: Just noticed your edit and wanted to note that the plugin is not just Windows, it works on Linux as well and from what I hear, on Mac as well.

epage 2011-03-19 03:20

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
Quote:

Originally Posted by uvatbc (Post 970717)
I start the download of all inbox items and stop the moment I get something that is older than the newest entry that I have.
Regarding contacts: yes, I get the contacts from the regular Google contacts - because of a few reasons:
1. the regular Google contacts API actually is an API unlike GV.
2. I can ask the server for all updates since a given time. Much better than what I'm doing for the Inbox items. gcontacts api also provides what has been deleted
3. All this means much less processing on my side, implying less CPU time, implying more battery life.

1. At one point I grabbed the source of the GV chrome extension (can't remember how) and it made a request for a json resource with all sorts of information. In this same request I grab the _rnr, callback numbers, and contacts. More is available but I just ignore it for now. This seems like it should be amply efficient though maybe my contact list isn't big enough.

2. Ok, I missed the the auto-killing during pagination processing. I don't bother with pagination, just get the most X recent items. Since I'm not a heavy phone user this provides months of data. So far no one has complained. In a local branch I've even made it so if you are only looking at mised calls or voicemails and cause a refresh, it will only refresh those.

uvatbc 2011-03-19 04:43

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
Quote:

Originally Posted by epage (Post 970725)
1. At one point I grabbed the source of the GV chrome extension (can't remember how) and it made a request for a json resource with all sorts of information. In this same request I grab the _rnr, callback numbers, and contacts. More is available but I just ignore it for now. This seems like it should be amply efficient though maybe my contact list isn't big enough.

I started off like that as well - but what forced me off that path was the fact that I have over 1000 contacts, 600 of which have phone numbers. Parsing this took so much time and CPU at every refresh, that I had to find a better way.

Also: As a result of moving to the gcontacts api and using mosquitto, I can get near instantaneous updates - just like Android.
This is particularly impressive because whenever I update contacts from gmail, those changes are propagated to qgvdial within 20 seconds or less. I don't sacrifice battery life for this either.

When I eventually get time, I plan to use these features to create the contacts sync utility.

epage 2011-03-19 11:14

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
Quote:

Originally Posted by uvatbc (Post 970751)
I started off like that as well - but what forced me off that path was the fact that I have over 1000 contacts, 600 of which have phone numbers. Parsing this took so much time and CPU at every refresh, that I had to find a better way.

Also: As a result of moving to the gcontacts api and using mosquitto, I can get near instantaneous updates - just like Android.
This is particularly impressive because whenever I update contacts from gmail, those changes are propagated to qgvdial within 20 seconds or less. I don't sacrifice battery life for this either.

This sounds somewhat parallel to a discussion I saw on meego-dev about programmers being the worst for defining performance requirements for contact applications because usually they have no where near the number of contacts as other people (like those in sales).

Quote:

Originally Posted by uvatbc (Post 970751)
When I eventually get time, I plan to use these features to create the contacts sync utility.

Doesn't help on Maemo 5 and not sure if it is used yet in Meego, but a project I find interesting is libfolks. Rather than syncing contacts, you gather them from multiple sources and merge them. I'm one who doesn't trust what a sync application might or might not due to my contacts on the server.

uvatbc 2011-03-26 08:45

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
New build!
Some UI improvements based on epage's observations.
Also: First attempt at a satisfying an interesting feature request: Show only those dial out methods that are enabled.

Specific use case was for SIP accounts - user has more than one SIP account and enables / disables SIP accounts based on the country he/she is in.

Hopefully you'll now see only those that are enabled. Not just that, when you _do_ enable your SIP account (or disable), those changes should be recognized by qgvdial and the list updated automatically.

xur17 2011-03-31 03:46

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
I just updated to the most recent version in extras-devel. Whenever I restart the program (when my phone restarts, or I quit the program using cntrl-q) the dial out method resets. This should stay the same even when I restart the program.

uvatbc 2011-04-02 06:42

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
New build!
I was experimenting a bit with the voicemail functionality in the devel build. I toyed with the idea of making qgvdial dependent on libqtm-11 but then gave up on that once I realized that libqtm-11 is not going to hit extras proper.
The voice mail UI has changed a bit. There is no longer a separate window for the voicemail, it's all integrated into the QML.
This was in part to keep it working well in the Symbian version.

Quote:

Originally Posted by xur17 (Post 978911)
I just updated to the most recent version in extras-devel. Whenever I restart the program (when my phone restarts, or I quit the program using cntrl-q) the dial out method resets. This should stay the same even when I restart the program.

I tried this out several times, but I couldn't reproduce it. Can you tell me more about this bug?
Specifically, did you enable/disable SIP/skype accounts or stuff like that?

kbyork 2011-04-02 23:00

Re: [ANNOUNCE] Multi-platform Google voice dialer
 
Quote:

Originally Posted by uvatbc (Post 980230)
New build!

Quote:

Originally Posted by xur17 View Post

I just updated to the most recent version in extras-devel. Whenever I restart the program (when my phone restarts, or I quit the program using cntrl-q) the dial out method resets. This should stay the same even when I restart the program.
I tried this out several times, but I couldn't reproduce it. Can you tell me more about this bug?
Specifically, did you enable/disable SIP/skype accounts or stuff like that?

I too have noticed this. Actually for the past 3-4 revisions.
It seems quite repeatable to me. When QVDIAL is restarted (either via reboot or Ctrl-Q), the CALL-TYPE is reset to "Dial back: Google Talk".

memo: You added several string substitutions to make the CALL-TYPE more readable. But you left the "sofiasip" (and possibly "spirit").


All times are GMT. The time now is 21:31.

vBulletin® Version 3.8.8