AquaMail Forum

English - Android => How do I... => Topic started by: remek on February 02, 2016, 03:35:27 pm

Title: Writing new mails
Post by: remek on February 02, 2016, 03:35:27 pm
Hello,

I got questions about new mails. When i want to write a mail and i need to write mail add to whom i want send it, the application is not autofill that addres, even i used it many times before? It is annoying. Thanks for reply.

PS Sorry for my english.
Title: Re: Writing new mails
Post by: mikeone on February 02, 2016, 04:09:38 pm
Hi,
Please check your settings in
> Menu > Settings > Contacts > Default contact picker > choose the first option "Built-in contact picker"
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 02, 2016, 09:54:12 pm
The recipient entry fields fill-in from Android Contacts.

Please consider enabling app settings -> contacts -> Auto-Add.

The FAQ has more info on this.

( using the Recents tab in the app's own contact picker window is another way, thank you @mikeone )
Title: Re: Writing new mails
Post by: remek on February 03, 2016, 10:48:00 am
Hi,
Please check your settings in
> Menu > Settings > Contacts > Default contact picker > choose the first option "Built-in contact picker"

It doesnt work, i got that option by default.


The recipient entry fields fill-in from Android Contacts.

Please consider enabling app settings -> contacts -> Auto-Add.

The FAQ has more info on this.

( using the Recents tab in the app's own contact picker window is another way, thank you @mikeone )

Ok it does work thanks, but i dont want to have "trash" on my mobile phone by adding to my contacts new mails. I mean i dont want to have a link between Aqua mail and my phone. It seems that Aqua mail isnt self-sufficient aplication.
Title: Re: Writing new mails
Post by: Davey126 on February 03, 2016, 06:45:13 pm
Re: "It seems that Aqua mail isnt self-sufficient aplication."

It is "self-sufficient" - thousands of AquaMail users would be complaining (vigorously) if they had to maintain a separate contact list for this application. Actually, they probably wouldn't use AquaMail at all with such a restriction.

The problem resides with the contact picker on your device. For whatever reason it is ignoring your primary list of contacts. You would likely see this problem with other email clients as well.

Unfortunately, I'm not experienced enough in this area to provide meaningful guidance (hopefully someone else will jump in). It's important to understand where the problem resides (your device) to properly troubleshoot.
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 04, 2016, 01:12:44 am
Quote
Ok it does work thanks, but i dont want to have "trash" on my mobile phone by adding to my contacts new mails. I mean i dont want to have a link between Aqua mail and my phone. It seems that Aqua mail isnt self-sufficient aplication.

So Gmail "is not a self-sufficient application".

And K9 Mail "is not a self-sufficient application".

And Boxer "is not a self-sufficient application".

Please let them all know.

And while we're at it, should I write a web browser too? So you won't have to open a separate app to view links in email messages?

What about dialing phone numbers?

Sending SMS (from phone numbers found in messages)?

Network connectivity: AquaMail uses the mobile data or WiFi connection that's provided by your phone. How horrible.

---

Back to contacts:

Gmail for web *by default* does exactly this -- saves any email addresses from the messages you send into your Contacts, which then sync to the phone, and it saves to the default (main) contact groups ("My Contacts").

AquaMail does this better, it uses a separate group for these auto-saved contacts, called -- unimaginatively -- "AquaMail".
Title: Re: Writing new mails
Post by: remek on February 04, 2016, 10:11:36 pm
Quote
Ok it does work thanks, but i dont want to have "trash" on my mobile phone by adding to my contacts new mails. I mean i dont want to have a link between Aqua mail and my phone. It seems that Aqua mail isnt self-sufficient aplication.


AquaMail does this better, it uses a separate group for these auto-saved contacts, called -- unimaginatively -- "AquaMail".

You are right Aquamail does this better but still, when i send just 1 mail to someone, i still get that mail as a new entry in my contacts. I have a job in which i send 30mails a day, sometimes to someone who i will not mail anymore in future. You see my point? After month i will get ~20 new entries in my contact book which i dont want. Im not complaining about Aquamail coz i think it is the best mail app, but it still got large defect for me. I thought there is another solution for my problem. Thanks for interesting my threat.

Title: Re: Writing new mails
Post by: mikeone on February 04, 2016, 11:38:34 pm
Hi remek,

That's the reason why Kostya had implemented an option in Settings ... to avoid 'trash"in your phone's contacts:

> Menu > Settings > Contacts > scroll down to the very last item and disable (uncheck) "Auto-add contacts"

In the attached screenshot you will see my settings and I feel very comfortable therewith.
 8)
Title: Re: Writing new mails
Post by: remek on February 04, 2016, 11:56:05 pm
Hi remek,

That's the reason why Kostya had implemented an option in Settings ... to avoid 'trash"in your phone's contacts:

> Menu > Settings > Contacts > scroll down to the very last item and disable (uncheck) "Auto-add contacts"

In the attached screenshot you will see my settings and I feel very comfortable with therewith.
 8)

Ye i understand.

You can close that topic, not solved but now i can see how it works. Im not a programmer and i dont know anything about that staff but i hope that sometime owner of that app will think about separate database like outlock on windows. Thanks for interesting and help!
Title: Re: Writing new mails
Post by: mikeone on February 05, 2016, 12:03:58 am
Okay,.  However, I'm sure that you are aware that a small app on a mobile device can't get all these features of an application on a desktop pc...  8)
Title: Re: Writing new mails
Post by: Davey126 on February 05, 2016, 12:19:56 am
It remains unclear why the primary contact database on the device (synced by Google to all associated devices including desktop) is not being referenced when the OP attempts to address mail as described in the first post. A core reason why I started using AM as some other eMail clients only referenced the local database. Clearly not an AquaMail issue but a curiosity none-the-less. Unless Play Services is not installed or contact syncing is disabled.

Perhaps I misunderstood the core issue.
Title: Re: Writing new mails
Post by: StR on February 05, 2016, 01:01:42 am
A core reason why I started using AM as some other eMail clients only referenced the local database. Clearly not an AquaMail issue but a curiosity none-the-less. Unless Play Services is not installed or contact syncing is disabled.
Just to comment on this remark:
I actually have the syncing of contacts with Google (and with Skype, etc.) disabled.
I've been looking for a local, private contact database that is not available to any app  that wants to snoop in it (including and in the first place Google). I understand that there are implications and complications on how the contact information can be used in other apps in that case (e.g. to dial a phone or to send an e-mail), but I am sure there could be a smart solution for that, when only the particular piece of information is shared to the outside of the contacts keeper. Unfortunately, I was unable to find such an app.

And with respect to e-mails, I would prefer if the mail app had its own database of contacts that wouldn't disclose information to other apps for the reason described above and a few others. But I understand that I am in a overwhelming minority  with this ::) , as most people do not understand and do not care for their privacy and prefer "convenience". And thus, it would be hard to expect Kostya (or for that matter anybody else) implementing a separate address book.
Title: Re: Writing new mails
Post by: Davey126 on February 05, 2016, 01:24:52 am
...most people do not understand and do not care for their privacy and prefer "convenience".
I agree with this comment and give up a certain amount of privacy for convenience. In the context of AquaMail I have opted to disable 'auto-add' for that very reason. Only those I communicate with frequently make it into my address book. But that exposes them to every other application on my device (unless I tweak permissions) as @StR points out. It's a brave new world that revolves around the loss of privacy. Disturbing - but largely unavoidable short of living under a rock.
Title: Re: Writing new mails
Post by: mikeone on February 05, 2016, 02:44:49 am
@StR + @Davey126
I found this "privacy cloud" thing, which could be interesting for you guys  8)

https://www.indiegogo.com/projects/smid-pro-cloud-privacy-for-everyone--2#/story
Title: Re: Writing new mails
Post by: Davey126 on February 05, 2016, 03:39:39 am
@StR + @Davey126
I found this "privacy cloud" thing, which could be interesting for you guys  8)

https://www.indiegogo.com/projects/smid-pro-cloud-privacy-for-everyone--2#/story
I think we'll see more of this going forward but it will only become mainstream when integrated into the hardware we all use. Be interesting to see where the push back against Apple and Google (default hardware encryption) goes.

On a personal note, anything I care about gets encrypted in transit and rest. I own the keys. That said, nothing I do is hyper confidential so if bad actors crack the encryption in 20 years from now it will only be an annoyance.
Title: Re: Writing new mails
Post by: StR on February 05, 2016, 04:52:39 am
It's a brave new world that revolves around the loss of privacy. Disturbing - but largely unavoidable short of living under a rock.
It's a world where we are all the product.
Indeed, it's hard to avoid it completely, but one can minimize certain things.
And, unfortunately, in most cases, you cannot even buy your way out of it (i.e. pay and have complete control over your information.)
Title: Re: Writing new mails
Post by: remek on February 05, 2016, 02:45:41 pm
.

And with respect to e-mails, I would prefer if the mail app had its own database of contacts that wouldn't disclose information to other apps for the reason described above and a few others. But I understand that I am in a overwhelming minority  with this ::) , as most people do not understand and do not care for their privacy and prefer "convenience". And thus, it would be hard to expect Kostya (or for that matter anybody else) implementing a separate address book.

+1 for that. I think the same like you. The 2nd thing as i wrote i prefer seperate database coz i dont like mess on my main android contact book. To be 100% sure im not here to complain for that app, i will still use it! Thanks for replies
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 05, 2016, 09:11:11 pm
Re: dont like mess on my main android contact book

When AquaMail "auto-adds" contacts, it creates a separate group just for that, and that group is marked as "invisible".
Title: Re: Writing new mails
Post by: remek on February 05, 2016, 09:41:56 pm
Re: dont like mess on my main android contact book

When AquaMail "auto-adds" contacts, it creates a separate group just for that, and that group is marked as "invisible".

Not at all. Just now i have wrote new mail with that option. As you can see it is visible in contacts.
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 05, 2016, 10:05:16 pm
         if (mGroupRowId <= 0) {
            ContentValues groupValues = new ContentValues();
            groupValues.put(Groups.TITLE, GROUP_NAME);
            groupValues.put(Groups.GROUP_VISIBLE, "0");
            groupValues.put(Groups.ACCOUNT_NAME, mAccount.name);
            groupValues.put(Groups.ACCOUNT_TYPE, mAccount.type);
            groupValues.put(Groups.NOTES, mContext.getString(R.string.contacts_group_notes));

            Uri groupUri = cr.insert(Groups.CONTENT_URI, groupValues);
            if (groupUri != null) {
               mGroupRowId = ContentUris.parseId(groupUri);
               MyLog.msg(MyLog.FEAT_CONTACTS, "Added AquaMail group as id = %d", mGroupRowId);
            }
         }


Your screenshot looks like a Samsung.

There is a way (in their Contacts app) to select which groups are visible -- apparently it doesn't simply use the standard value I'm setting.

Quote
For this, please open on the Samsung Galaxy S6 the menu and then the Contacts app. In this select in the overview of your contacts at the upper right corner the button "More". A window will appear where the "Settings" entry must be tapped now. In the next sub-menu, please tap the menu item "Contacts to display". You can now select from which location the contacts should be displayed in the contacts list. For the Google Contacts highlight your Gmail address.

Source: http://www.solvemix.com/index.php/android-smartphones/656-samsung-galaxy-s6-only-display-contacts-stored-in-google-account
Android Smartphones
© Solvemix - quick tips, tricks and solutions

The "contacts to display" mentioned above has a "customized list" option where you can select individual groups -- just turn off "AquaMail" there.
Title: Re: Writing new mails
Post by: remek on February 05, 2016, 11:56:47 pm
         if (mGroupRowId <= 0) {
            ContentValues groupValues = new ContentValues();
            groupValues.put(Groups.TITLE, GROUP_NAME);
            groupValues.put(Groups.GROUP_VISIBLE, "0");
            groupValues.put(Groups.ACCOUNT_NAME, mAccount.name);
            groupValues.put(Groups.ACCOUNT_TYPE, mAccount.type);
            groupValues.put(Groups.NOTES, mContext.getString(R.string.contacts_group_notes));

            Uri groupUri = cr.insert(Groups.CONTENT_URI, groupValues);
            if (groupUri != null) {
               mGroupRowId = ContentUris.parseId(groupUri);
               MyLog.msg(MyLog.FEAT_CONTACTS, "Added AquaMail group as id = %d", mGroupRowId);
            }
         }


Your screenshot looks like a Samsung.

There is a way (in their Contacts app) to select which groups are visible -- apparently it doesn't simply use the standard value I'm setting.

Quote
For this, please open on the Samsung Galaxy S6 the menu and then the Contacts app. In this select in the overview of your contacts at the upper right corner the button "More". A window will appear where the "Settings" entry must be tapped now. In the next sub-menu, please tap the menu item "Contacts to display". You can now select from which location the contacts should be displayed in the contacts list. For the Google Contacts highlight your Gmail address.

Source: http://www.solvemix.com/index.php/android-smartphones/656-samsung-galaxy-s6-only-display-contacts-stored-in-google-account
Android Smartphones
© Solvemix - quick tips, tricks and solutions

The "contacts to display" mentioned above has a "customized list" option where you can select individual groups -- just turn off "AquaMail" there.

Thanks! It would work but Aquamail still is adding new contacts to group: Aquamail and My contacts. How should i disable adding to My contacts group?
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 06, 2016, 12:09:50 am
It does not add to My Contacts, actually, only to its own group. Let me try on a non-Samsung device to see what happens.
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 06, 2016, 12:21:27 am
Yep, it happened on a Sony device with 5.1, which is less likely than a Samsung to "be doing something strange".

I think My Contacts is marked with "AutoAdd" which means "add all new contacts to this group".

Darn! What a pain!
Title: Re: Writing new mails
Post by: remek on February 06, 2016, 07:12:28 am
Yep, it happened on a Sony device with 5.1, which is less likely than a Samsung to "be doing something strange".

I think My Contacts is marked with "AutoAdd" which means "add all new contacts to this group".

Darn! What a pain!

Now i can understand what you are talking about. Its not fault Aquamail, its fault of Android 5.1;/
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 06, 2016, 06:54:07 pm
Maybe not 5.1, maybe earlier versions too.

When I originally wrote this, the latest Android was 2.1 or so.

I'll try to think about it to find a solution.
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 07, 2016, 10:39:05 pm
@remek please see this:

http://www.aqua-mail.com/forum/index.php?topic=4413.0

Title: Re: Writing new mails
Post by: Davey126 on February 07, 2016, 11:06:25 pm
Maybe not 5.1, maybe earlier versions too.

When I originally wrote this, the latest Android was 2.1 or so.

I'll try to think about it to find a solution.
Grabbed a 4.4.4 device (AOSP) and enabled auto-add (never used it before). Test contact added to "other contacts" (Google terminology) but not AquaMail group. AM group was created but remained unpopulated. 1.6.1.0-dev4.4. Haven't tried the latest build yet; happy to do so if helpful.
Title: Re: Writing new mails
Post by: remek on February 08, 2016, 11:11:29 am
@remek please see this:

http://www.aqua-mail.com/forum/index.php?topic=4413.0

Now it works perfect! THanks!:)
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 09, 2016, 11:57:51 pm
@Davey126

Definitely working for me here, checked with 4.4 too (although not AOSP).

I've noticed before that a just created group needs some time before it's usable.

So if you enabled this setting and then sent your test message immediately -- maybe you'll want to try again now.

@remek

Good to know, thanks!
Title: Re: Writing new mails
Post by: Davey126 on February 10, 2016, 03:00:29 am
I've noticed before that a just created group needs some time before it's usable.

So if you enabled this setting and then sent your test message immediately -- maybe you'll want to try again now.
You're right - it worked! Dropped a second test email address in the previously established AquaMail group. Good to know!
Title: Re: Writing new mails
Post by: Kostya Vasilyev on February 12, 2016, 09:04:32 pm
Yes, Android / Gmail contact sync apparently doesn't "like" (or can't) sync a "create a group" and a "create a contact in this group" at the same time (from Android to servers).