|
2011-03-19
, 02:59
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#332
|
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
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?
|
2011-03-19
, 03:06
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#333
|
|
2011-03-19
, 03:20
|
|
Posts: 1,684 |
Thanked: 1,562 times |
Joined on Jun 2008
@ Austin, TX
|
#334
|
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.
|
2011-03-19
, 04:43
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#335
|
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.
|
2011-03-19
, 11:14
|
|
Posts: 1,684 |
Thanked: 1,562 times |
Joined on Jun 2008
@ Austin, TX
|
#336
|
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.
|
2011-03-26
, 08:45
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#337
|
|
2011-03-31
, 03:46
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#338
|
|
2011-04-02
, 06:42
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#339
|
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.
|
2011-04-02
, 23:00
|
Posts: 61 |
Thanked: 27 times |
Joined on Jul 2010
|
#340
|
New build!
I tried this out several times, but I couldn't reproduce it. Can you tell me more about this bug?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.
Specifically, did you enable/disable SIP/skype accounts or stuff like that?
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?
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
Last edited by epage; 2011-03-19 at 02:48.