Author Topic: 1.5.1.18  (Read 3658 times)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
1.5.1.18
« on: March 12, 2015, 09:37:59 pm »
http://www.aqua-mail.com/download/AquaMail-market-1.5.1.18.apk

---

+ Fixes in rich text editor.

---

+ Исправления в редакторе форматированного текста.

« Last Edit: March 14, 2015, 10:01:06 pm by Kostya Vasilyev, Aqua Mail »
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/

someone

  • Sr. Member
  • ****
  • Posts: 415
Re: 1.5.1.18
« Reply #1 on: March 14, 2015, 02:09:43 pm »
I'm curious. Which rich text editor do you use in AM? Did you write it yourself? It's very good.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: 1.5.1.18
« Reply #2 on: March 14, 2015, 08:30:54 pm »
The basic text editor is built into Android, and it can display text with certain types of formatting, but has no UI controls for creating / changing the styling.

What I did is start with an actual editor (all the stuff that lets the user actually apply formatting), written by Mark Murphy, who is a world-famous Android author / trainer / expert... he had the source code up on GitHub under an acceptable license.

... and then I did a fairly large amount of work to make it work better (e.g. being able to press "Bold" when there is no selection, then when you start typing, the new text will actually be bold...), compatibility fixes for Android 2.*... the floating icon bar...

Then the code to save and restore the formatting, converting to HTML for sending, oh, it really was a lot of work to make it usable. I'm very grateful to Mr. Murphy for his work, though.

The final step was adding support for embedded images, this is heavily dependent on the rest of the app -- since those images need to be stored somewhere, loaded from storage as needed (in the background, so the UI doesn't freeze), cleaned up when the user deletes an image... The popup menu for resizing and attaching a link, all of that...
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/

someone

  • Sr. Member
  • ****
  • Posts: 415
Re: 1.5.1.18
« Reply #3 on: March 15, 2015, 01:52:46 am »
You are amazing.
Thanks.