AquaMail Forum

English - Android => Development builds => Topic started by: Kostya Vasilyev on February 27, 2017, 10:10:51 pm

Title: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on February 27, 2017, 10:10:51 pm
https://www.aqua-mail.com/download/AquaMail-market-1.9.0-212-dev-fbc070e52a70.apk

---

Work in progress: Exchange Contact sync

+ For now, only "from server to device", not possible to create new contacts, and any edits made on the phone won't sync back to the server.

+ Per-contact: names, emails, phone #s, physical addresses, instant messaging, web page, birthday, anniversary.

+ Directory lookup (GAL) in: Contacts app, Phone app, Aqua Mail autocomplete, Aqua Mail "contact picker window". Can be turned off (per-account options -> Exchange).

+ No support for groups / categories (and most likely won't be added, a limitation of Android Contacts app).

+ After updating, please enable phone Settings -> Accounts -> Your "Aqua Mail (Exchange)" account -> Contact sync.

+ When the above is off, the app will use the old "Exchange contacts only in the app", this will remain present (user requests).

Still to be done:

- Contact images and notes (Exchange 2010SP2 and newer only)

- Possibly other per-contact data items (feedback please)

- Create contacts in an Aqua Mail Exchange account

- Sync from phone to server

---

В процессе: синхронизация Контактов для Exchange

+ Пока что, только "с сервера в телефон", нет возможности создавать новые контакты, и если редактировать на телефоне, изменения не будут переданы на сервер.

+ Информация: имена, адреса email, номера телефона, физические адреса, мгновенные сообщения, веб сайт, день рождения, годовщина.

+ Поиск в корпоративном справочнике (GAL) из: приложения Контакты, Телефон, авто-дополнение из Aqua Mail, "окно контактов" в Aqua Mail (можно выключить: доп. настройки и папки учётки - Exchange).

+ Группы / категории не поддерживаются (и скорее всего не будут, ограничение стандартного приложения Контакты).

+ После обновления, зайдите в Настройки телефона - учётные записи - Aqua Mail (Exchange) -> включите синхронизацию Контактов.

+ Когда синхронизация контактов (выше) выключена, то программа будет работать как раньше "контакты Exchange только в самой программе", это останется (по просьбам пользователей).

Будет доработано:

- Картинки контактов и "заметки" (Exchange 2010SP2 и выше)

- Другие "пункты" данных (пишите предложения)

- Создание контактов в учётке Exchange

- Синхронизация с телефона на сервер
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: dcortez on February 28, 2017, 05:07:44 am
I'm not seeing Aqua Mail as an Account on my device running LineageOS.  Google accounts are the only ones I see. I understand this could be a ROM related issue, however, wanted to ask if there's another way to enable contact sync. Thanks.

Sent from my ZTE A2017U using Tapatalk

Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Jeff on February 28, 2017, 05:48:23 am
I have been waiting for this for a very long time, thank you very much for this work.  I did notice straight away the one-way sync, I'm sure you are working on this.

The contact pictures seem to be not working completely, but that might be due to the one-way sync (?)  not sure.   

In any event, this is fantastic news, thank you again.

Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Jeff on February 28, 2017, 06:04:41 am
I'm not seeing Aqua Mail as an Account on my device running LineageOS.  Google accounts are the only ones I see. I understand this could be a ROM related issue, however, wanted to ask if there's another way to enable contact sync. Thanks.

Sent from my ZTE A2017U using Tapatalk

I saw the same thing on EmotionROM but after clicking "Add" on one of the AquaMail accounts, and then canceling the add, the list of Aquamail accounts showed up.
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: mikeone on February 28, 2017, 10:29:28 am
I have been waiting for this for a very long time, thank you very much for this work.  I did notice straight away the one-way sync, I'm sure you are working on this.

The contact pictures seem to be not working completely, but that might be due to the one-way sync (?)  not sure.   

In any event, this is fantastic news, thank you again.
Please note the remarks in the original thread:

https://www.aqua-mail.com/forum/index.php?topic=5464.msg32690#msg32690
Quote

Still to be done
:

- Contact images and notes (Exchange 2010SP2 and newer only)

- Possibly other per-contact data items (feedback please)

- Create contacts in an Aqua Mail Exchange account

- Sync from phone to server
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on February 28, 2017, 07:56:17 pm
- Yes it's one way sync (server to device) right now. Work in progress.

- Yes no contact images or notes yet.

- Good to know that on some Android builds, not only is "sync contacts" does not get enabled, but the item itself isn't visible either. For the release, we'll need to add some sort of "wizard" ("new feature, contact sync, do you wish to enable it").

- However, even though there are shortcomings and glitches, I felt that this was worth posting, for testing and just because it seems usable already, even with its (so far) limited capabilities.

- The work on this will continue, there will be contact images, phone to server upload, and contact creation too.
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: dcortez on March 01, 2017, 03:50:43 am
I'm not seeing Aqua Mail as an Account on my device running LineageOS.  Google accounts are the only ones I see. I understand this could be a ROM related issue, however, wanted to ask if there's another way to enable contact sync. Thanks.

Sent from my ZTE A2017U using Tapatalk

I saw the same thing on EmotionROM but after clicking "Add" on one of the AquaMail accounts, and then canceling the add, the list of Aquamail accounts showed up.
Unfortunately, this didn't work for me.  Will back up device and reset device to see if Aqua Mail is added as an account.

Sent from my ZTE A2017U using Tapatalk

Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: dcortez on March 01, 2017, 04:19:21 pm
Installed latest version of LineageOS ROM and I can see and enable Contact Sync from the Settings->Account page. When I go to contacts app, there's no indication that Aqua Mail contacts are synced to my device similar to my other accounts, e.g., Gmail.

Sent from my ZTE A2017U using Tapatalk

Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 01, 2017, 09:09:44 pm
Quote
Installed latest version of LineageOS ROM and I can see and enable Contact Sync from the Settings->Account page. When I go to contacts app, there's no indication that Aqua Mail contacts are synced to my device similar to my other accounts, e.g., Gmail.

Now, I have no idea what LineageOS is, but...

Sometimes it's necessary to go into Settings in the Contacts app and enable it to show contacts from your Aqua Mail Exchange account.

Now, Aqua Mail has code to enable that automatically, so I'm not sure why it didn't work.

For the release, we will have some sort of "wizard" - "hey look, you can now sync Exchange contacts, would you like to"?

For now, I'm focusing on the more important stuff - syncing data from the phone to the server.
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: dcortez on March 01, 2017, 11:06:47 pm

Quote
Now, I have no idea what LineageOS is
apologies for not clarifying the OS; LineageOS is the new name for the OS formerly known as Cyanogen Mod.

Quote
Sometimes it's necessary to go into Settings in the Contacts app and enable it to show contacts from your Aqua Mail Exchange account.
Agree; however, Aqua Mail is not listed as an 'Account' to enable viewing contacts.

Quote
Now, Aqua Mail has code to enable that automatically, so I'm not sure why it didn't work.
I'll check later this weekend when I'll factory reset my device for testing purposes; this is probably ROM related.

Quote
For now, I'm focusing on the more important stuff - syncing data from the phone to the server.
Completely understand; I'm happy to know this is a feature I can use I'm the near term.



Sent from my ZTE A2017U using Tapatalk

Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 02, 2017, 12:21:57 am
Re: LineageOS is the new name for the OS formerly known as Cyanogen Mod.

What Android version is it based on? I mean the build for your device specifically?

Do you have access to adb logcat?

Is the Aqua Mail (Exchange) account visible in tablet Settings -> Accounts? Does it have Contacts listed as "what this can sync" (along with Mail and Calendar, from before)?
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: dcortez on March 02, 2017, 03:27:58 am


Re: LineageOS is the new name for the OS formerly known as Cyanogen Mod.

What Android version is it based on? I mean the build for your device specifically?

Do you have access to adb logcat?

Is the Aqua Mail (Exchange) account visible in tablet Settings -> Accounts? Does it have Contacts listed as "what this can sync" (along with Mail and Calendar, from before)?

Android 7.1.1, Aqua Mail account is visible in Settings->Account and Mail, Calendar and Contacts are enabled for sync. Pic is attached ... Unable to get a logcat right now.

Sent from my ZTE A2017U using Tapatalk

Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 02, 2017, 10:08:02 pm
Re: Android 7.1.1, Aqua Mail account is visible in Settings->Account and Mail, Calendar and Contacts are enabled for sync.

OK, good. I've got a Nexus 5x with 7.1.1, the account is visible and so are the actual contacts (synced by Aqua).

Have you checked Contacts app -> Settings -> Contacts to display?
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: dcortez on March 03, 2017, 05:01:16 am
Re: Android 7.1.1, Aqua Mail account is visible in Settings->Account and Mail, Calendar and Contacts are enabled for sync.

OK, good. I've got a Nexus 5x with 7.1.1, the account is visible and so are the actual contacts (synced by Aqua).

Have you checked Contacts app -> Settings -> Contacts to display?
Yes, checked the Contacts app, went to the option to choose which accounts to display, however,  my Aqua Mail account is not listed... I have three other email accounts that are listed. I'm going to clear the Contacts storage and see if the Aqua Mail contacts appear. Thanks for taking time to reply to my posts.

Sent from my ZTE A2017U using Tapatalk

Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 03, 2017, 06:31:53 pm
Re: Yes, checked the Contacts app, went to the option to choose which accounts to display, however,  my Aqua Mail account is not listed... I have three other email accounts that are listed.

It's the same for me actually on two phones -- but the actual contacts synced by Aqua Mail are still visible.

But for me, even though the Aqua Mail Exchange account is not visible under "select accounts" in the Contacts app, I just selected "all accounts" there (I think it was already set that way).

Re: I'm going to clear the Contacts storage and see if the Aqua Mail contacts appear.

Maybe before you do that -- right now my Aqua Mail Exchange account is not showing in the Contacts app when you "create a new contact" there. Maybe there is a common cause (with it not showing under "select which accounts to display contacts from").

I'm going to investigate that one soon, clearly we do want to be able to "create new contacts" not only sync existing.

Maybe that'll resolve the "account not visible in Contacts app" too.
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Jeff on March 03, 2017, 08:54:38 pm
Re: Android 7.1.1, Aqua Mail account is visible in Settings->Account and Mail, Calendar and Contacts are enabled for sync.

OK, good. I've got a Nexus 5x with 7.1.1, the account is visible and so are the actual contacts (synced by Aqua).

Have you checked Contacts app -> Settings -> Contacts to display?
Yes, checked the Contacts app, went to the option to choose which accounts to display, however,  my Aqua Mail account is not listed... I have three other email accounts that are listed. I'm going to clear the Contacts storage and see if the Aqua Mail contacts appear. Thanks for taking time to reply to my posts.

Sent from my ZTE A2017U using Tapatalk

I'm seeing the same behavior.  I thought it was working (of course only one-way) but in fact, none of my exchange contacts are present, only the gmail ones.

I then did clear the Contacts data and Contacts Storage data, and with "contacts to display" set to exclude gmail, I have no contacts at all, other than my own phone number

Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 03, 2017, 09:03:24 pm
Re: and with "contacts to display" set to exclude gmail

1 - Can you please try to enable "from all accounts / all / everything" (whatever the wording) as the "accounts to show contacts from" in the Contacts app?

2 - Is Aqua Mail granted the "contacts" permission? Phone settings -> apps -> tap into Aqua Mail please -> permissions?

3 - Does the Aqua Mail Exchange account have "Contacts" listed for you, is sync enabled for it? Phone settings -> Accounts.

4 - What is the phone's Android version?
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Jeff on March 03, 2017, 10:12:12 pm
1 - Can you please try to enable "from all accounts / all / everything" (whatever the wording) as the "accounts to show contacts from" in the Contacts app?
  This appears to do the trick, but only for one of the two phones.  Strange thing though, my Exchange account is not listed as an option, just Phone, SIM, and gmail.

Quote
2 - Is Aqua Mail granted the "contacts" permission? Phone settings -> apps -> tap into Aqua Mail please -> permissions?
Yes

Quote
3 - Does the Aqua Mail Exchange account have "Contacts" listed for you, is sync enabled for it? Phone settings -> Accounts.
Yes

Quote
4 - What is the phone's Android version?
Two devices, a Samsung Galaxy Note 4 running TouchWiz with Android 6.0.1 and the other is a Nexus 6P running an AOSP variant (Pure Nexus), 7.1.1 


It appears to NOT be the same result on both phones.  On the AOSP variant (Nougat 7.1.1) if I choose All Contacts as you suggested, then I get my Exchange contacts even though the account is not listed.  However, if I choose "custom" and select Phone, SIM, and *NOT* gmail, then I get no contacts at all.  I really do not want my gmail contacts included in the list, I would really rather only have my Exchange contacts and no others.

On the Note 4, running TouchWiz (Marshmallow 6.0.1) and I choose All Contacts, I am still seeing no contacts at all.  I tried clearing cache, and even data, for both Contacts and Contacts Storage.  I also rebooted and still no contacts on this one.




Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 03, 2017, 10:14:49 pm
Quote
On the Note 4, running TouchWiz (Marshmallow 6.0.1) and I choose All Contacts, I am still seeing no contacts at all.  I tried clearing cache, and even data, for both Contacts and Contacts Storage.  I also rebooted and still no contacts on this one.

OK, I've got a Samsung S6 here and can check it there.

Maybe once I've found the right magic to enable creating new contacts in the Aqua Mail Exchange account (which we're missing now) --  the contacts will "magically" appear...
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 03, 2017, 10:53:54 pm
Bizzare.

I dusted off a Samsung tablet (still pretty good, with Android 6) and it has Aqua's Exchange account in Contacts app -- both in "what accounts to display" and when creating a new contact. I actually was able to create a new contact and it did upload to Office 365.

But both are missing in the Android emulator with 7.0 and on a Sony phone with Android 6.

I must be missing some undocumented "magic". Will look at the source code for Contacts maybe I'll find it.
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Jeff on March 03, 2017, 10:58:54 pm
Thanks!

Yes, neither my 6.0.1 nor my 7.1.1 device is showing the Exchange account in "Contacts to Display".   I've been trying various things on the Note 4 and still have zero contacts showing (even with
All Contacts selected).

I really appreciate you working on this!  If you would like an Alpha tester, I would be happy to do so!

Jeff

Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 03, 2017, 11:16:36 pm
Well, this is something that needs to be sovled.

I'll have new builds on the forum when there is any progress (on this issue and Contact sync in general - I'm in the middle of getting "sync from phone to server" to work).
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 03, 2017, 11:37:19 pm
Found it!

My Aqua Mail Exchange account is now visible:

- In Contacts app under "which contacts to show"
- In Contacts app when "creating a new contact"
- Tested: Android 7 emulator, Android 4.1 emulator, Nexus 5x with Android 7.1, an older Sony with Android 6

Should I try and post a build tonight with what I've got so far?

- The fix above
- Create new contacts in Aqua Mail Exchange account
- Sync to server: name, emails, phone #s, IMs, organization, web page - no physical addresses yet
- No notes or contact images in either direction yet

?
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: mikeone on March 03, 2017, 11:42:38 pm
Found it!

Should I try and post a build tonight with what I've got so far?

- The fix above
- Create new contacts in Aqua Mail Exchange account
- Sync to server: name, emails, phone #s, IMs, organization, web page - no physical addresses yet
- No notes or contact images in either direction yet

?
Since it sounds like a further step forward: Yes, in any case 👌🏼
Title: Re: Version 1.9.0-212-dev - "work in progress", not in Google Play
Post by: Kostya Vasilyev on March 04, 2017, 01:11:52 am
Done:

https://www.aqua-mail.com/forum/index.php?topic=5478.0

Next steps:

- "Sync from device to server" for "physical addresses"
- Notes and contact images