(12-03-2020 07:42 AM)Maxence Wrote: (12-03-2020 07:00 AM)jhale716 Wrote: Summary for newbies like me....
1. Go to the Google APIs Dashboard https://console.developers.google.com/apis/dashboard and create a project (OAuth consent screen)
Selecting internal, and adding the scopes you need.
2. Go to the Google APIs Dashboard https://console.developers.google.com/apis/dashboard and create your OAuth credentials. (These are needed soon)
3. Go to the Google API Console and enable the "Contacts API" for your account https://console.developers.google.com/ap...leapis.com
I included the "https://www.googleapis.com/auth/contacts" which is for People API too. I used the Contacts APIO though I'm guessing you could use the People one too.
4. Download and check the config file on your phone, make sure you have the version bit (#!version:1.0.0.1 as line one) in the config file. This appears to be there by default on the latest firmware (T46S v66.85.0.5).
5. Modify the config file to include:
google_contact_server.enable = 1
google_contact_server.client_id = <Your Client ID from OAuth>
google_contact_server.client_secret = <Your Secrect Key From OAuth>
6. Upload the config file to your phone
7. On the phone portal sign in and work through the google authentication screen
8. On the phone select directory and Google Contacts, then sync. And it should bugger off for a bit downloading them.
At this point, it should be working!
Good luck!
Hi @jhale716,
Thank you for your feedback and tuto for this.
Whereas the Google contacts sync work fine for me, I still have an issue with this phonebook. It looks like the phone (T46S) is not performing any lookup in this directory for incoming or outgoing (history) calls... Concretely if a contact calls me, it's name is not displayed even if its number is in the directory.
Do you face the same behaviour ?
Anyone found a fix for this ?
Even tried without success to add in the config file a setting like "google_contact_server.call_in_lookup = 1"
Thanks!
We had the same issue but found it was due to the phone numbers in Google Contacts containing spaces (which are added automatically as you add the contact into Google, but you can backspace these out afterwards).
As our client had almost 4000 contacts, we:
- Exported them to CSV.
- Used Excel to find/replace all spaces from the mobile number columns.
- Re-imported all contacts.
- Used "Merge & Fix" option in Google Contacts.
Give that a try. You may also need to change the format of the phone number columns in Excel so the leading '0' in phone numbers isn't removed. To do that:
- Select the phone number columns.
- CTRL+Click the headers to de-select those, leaving only the numbers selected.
- Press CTRL+1 to bring up the Format Cells window.
- On the first tab ("Number") select the Custom category.
- In the "type" field, we just entered "0000000000" (without quotes) as a format mask. We weren't too sure about this step but it seemed to work.
Hope that helps. We did this on a T41S on latest firmware.