Author Topic: download to external sd card not possible - Lollipop  (Read 5104 times)

Harald

  • Newbie
  • *
  • Posts: 1
download to external sd card not possible - Lollipop
« on: September 16, 2015, 04:22:07 pm »
It is not possible to download attachments to the external SD card.
When I select any external place I get an error.

Other Apps like QuickPic can write to the external card.
The TotalCommander App needed an Update und works now.

If necessary I can give more information

My Smartphone BQ Aquarius M4.5 Buildnumber 1.1.2_20150804-1730
Lollipop 5.1
AquaMail Pro 1.5.9.13

Greetings from Cologne
Harald

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: download to external sd card not possible - Lollipop
« Reply #1 on: September 16, 2015, 10:22:10 pm »
You can thank Google for this.

In 4.4, they blocked write access to "real" microSd cards "for security reasons".

When they re-enabled it in 5.0, they invented a whole new way to access the files (whereas before, it worked via File functions, you know, "C:" was your internal memory, and "D:" was the microSd, metaphorically...)

And I just can't seem to bring myself up to work on this, given the required all-new-all-different code paths.

They just screwed it up for everyone (users, developers) for no good reason.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

ArtieD

  • Newbie
  • *
  • Posts: 1
Re: download to external sd card not possible - Lollipop and Marshmallow
« Reply #2 on: February 18, 2016, 03:27:42 am »
I don't know if this will fix your problem, but it solved mine. I was having the same "download to external sd card not possible" on my rooted Samsung Galaxy Tab S 8.4 running Marshmallow 6.0.1 for two Gmail accounts and this fixed it for me. It had to do with the Google Account sign-in security settings. To fix them follow these steps:

Open your Google Account Settings (In Gmail open the checkerboard icon in the upper right corner and then open "My Account")

Open "Sign-in & Security"
Scroll down to "Allow less secure apps" and toggle the slider to "On"

This also helped me when I changed by Aqua Mail Account Type from "Gmail or Google Apps" to "Internet Mail." (I had to re enter all the account information and then copy over all of the settings, which was a pain, but worth it.) They both work for Gmail. The Gmail version does have more security than the Internet Mail version, but I was getting intermittent OATH security failures that prevented me from sending or receiving emails at inopportune times. I decided it was more important to get consistent email service than to have maximum security. Now everything works fine with Aqua Mail and my Gmail accounts.


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: download to external sd card not possible - Lollipop
« Reply #3 on: February 18, 2016, 08:46:11 pm »
Re: I was getting intermittent OATH security failures that prevented me from sending or receiving emails at inopportune times

Yes, I am aware of failures, they seem to be specific to mobile data (not WiFi) -- and then for an account that exists in system settings, the app gets its OAUTH tokens from Google Play Services, so I can't debug / fix that...

No such issue with the app's own OAUTH token code, it seems.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

JrRRr76

  • Newbie
  • *
  • Posts: 1
Re: download to external sd card not possible - Lollipop
« Reply #4 on: March 23, 2016, 12:31:04 am »
You can thank Google for this.

In 4.4, they blocked write access to "real" microSd cards "for security reasons".

When they re-enabled it in 5.0, they invented a whole new way to access the files (whereas before, it worked via File functions, you know, "C:" was your internal memory, and "D:" was the microSd, metaphorically...)

And I just can't seem to bring myself up to work on this, given the required all-new-all-different code paths.

They just screwed it up for everyone (users, developers) for no good reason.

Hi. I know Google has it's hard-to-unerstand policies witch, at many times, is a PITA! But would you please reconsider trying to set up write-permission, it would really be a great benefit for me and others who doesn't want to risk breaking warranty to get more space on the internal sd.

I really like Aqua-mail as it handles all my email on Android platform. And if I one day could get a port or something I would probably use it side-by-side with Thunderbird..  ..the latter serving mostly for archiving emails ;)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: download to external sd card not possible - Lollipop
« Reply #5 on: March 25, 2016, 10:05:03 pm »
It's not an issue with permissions -- there is no permission AT ALL which would allow writing to the SD card.

There is a whole new API (functions) to access this storage, requiring a fair amount of changes to the app's code (any app's code), and -- sorry -- it's not a priority at all.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/