Author Topic: Shortcuts?  (Read 2384 times)

ewill

  • Newbie
  • *
  • Posts: 27
Shortcuts?
« on: December 23, 2016, 05:17:41 pm »
Is there a way to create a shortcut with Aqua mail.  For example, I would like to define a launcher gesture to open a mailbox that is different than the default location when Aqua is opened.  I realize that I can create a widget, but I would like to do this via shortcut - which can be associated to a gesture action. 

I have tasker, so even if I could do this via some type of broadcast or intent...

Thank you

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Shortcuts?
« Reply #1 on: December 23, 2016, 09:49:33 pm »
Are you talking about Android 7 and its "launcher shortcuts"?

Sorry there is no support for shortcuts yet (and I can see that user needs would vary a lot).

Re: Tasker

Is it possible to start activities and pass data to them? As in, URLs?

You can start the app's AccountListActivity$Material (or $Light or $Dark, just make sure it matches the app's theme setting)

with a data URL like:

content://org.kman.AquaMail.data/accounts/2/folders/9

This will open folder #9 which is in account #2. You can see these URLs (and get the #'s) if you enable the app's debug log and then open a folder's message list.
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/

ewill

  • Newbie
  • *
  • Posts: 27
Re: Shortcuts?
« Reply #2 on: December 23, 2016, 10:21:53 pm »
I am not yet on Android 7, but use Nova launcher.

In any case - the instructions for Tasker are great - and this works perfectly!   Thank you.

One more question - could I do something similar for the smart folder - and if so, what would the URL be?

ewill

  • Newbie
  • *
  • Posts: 27
Re: Shortcuts?
« Reply #3 on: December 23, 2016, 10:31:17 pm »
Never mind - I looked a bit deeper and answered my question

For smart list use - content://org.kman.AquaMail.data/global/smart/list

Perfect!

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Shortcuts?
« Reply #4 on: December 23, 2016, 10:46:59 pm »
:)
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/