Author Topic: AquaMail Updater  (Read 110731 times)

pyler

  • Sr. Member
  • ****
  • Posts: 412
AquaMail Updater
« on: July 01, 2014, 03:12:05 pm »
AquaMail Updater (AMU) searches and downloads the latest AquaMail version. :)



If you want translate this small app... https://github.com/pylerSM/AquaMailUpdater/blob/master/res/values/strings.xml

Donate? Yes, you can: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6NTYA2HMPQHVW
« Last Edit: January 21, 2017, 08:56:27 pm by pyler »
Do you want to use the latest AquaMail version?
Try AquaMail Updater!

pyler

  • Sr. Member
  • ****
  • Posts: 412
Re: AquaMail Updater
« Reply #1 on: July 01, 2014, 09:02:22 pm »
When no internet connection, it will show "Current AquaMail version: Unknown".
After I have some more translations, I will post AquaMail Updater v1.1 :)

p.s: you probably made small mistake in "about" string ;)
« Last Edit: July 01, 2014, 09:05:04 pm by pyler »
Do you want to use the latest AquaMail version?
Try AquaMail Updater!

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: AquaMail Updater
« Reply #2 on: July 01, 2014, 09:04:41 pm »
Great!

Is this what they call "software ecosystem"? :)

    <string name="about">О программе</string>
    <string name="installed_version">Установленная версия: %s</string>
    <string name="current_version">Новая версия: %s</string>
    <string name="download">Загрузить</string>
    <string name="aquamail_not_installed">AquaMail не установлена.</string>
    <string name="about_info">Автор: pyler\nС благодарностью: Kostya Vasilyev\n\nAquaMail Updater проверяет наличие обновлений AquaMail.\n\nПриложение использует библиотеку <i>ion</i> от разработчика Koushik Dutta.</string>
    <string name="unknown">Неизвестно</string>
    <string name="download_info">Заргружено %1$s из %2$s</string>

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/

Droidlovinyogi

  • Newbie
  • *
  • Posts: 33
Re: AquaMail Updater
« Reply #3 on: July 02, 2014, 12:21:05 pm »
pyler,

Thanks so much! This is a fantastic app! It will be very useful for us die-hard fans of AquaMail who like to use the latest and greatest that Kosya is putting out. A few of questions:

1. Do you plan on adding notifications so that we'll get the heads-up from the app when there's a new version of AquaMail, or should we just get used to being in the habit of manually checking?

2. Are you going to include the specifics of each update (new features, changes, additions etc.)? I know that we can view "Recent changes" in AquaMail, but those are the accumulative changes that are in the published version. It would be nice to know the specifics of each development build update - basically the details that Kostya outlines here in the forum when he posts a new build.

3. Are you going to notify us from within the Updater App when there's a new version of the Updater App?
« Last Edit: July 02, 2014, 12:26:36 pm by Droidlovinyogi »

Droidlovinyogi

  • Newbie
  • *
  • Posts: 33
Re: AquaMail Updater
« Reply #4 on: July 02, 2014, 12:22:08 pm »
Also Kostya, if pyler keeps this going perhaps this thread could be stickied.

vbjelic

  • Newbie
  • *
  • Posts: 4
Re: AquaMail Updater
« Reply #5 on: July 02, 2014, 02:21:35 pm »
Firstly, I have to admit that you are extremely good developer and please continue with god work.

Secondly just one question. I recently installed Lite and after Pro version, and today I install Updater. By Updater I update app to version 1.4.0.23-no-touchwiz but the differences between this version and 1.4.0.22 are not described anywhere (nor on web nor on forum).

Could you please somewhere explain the update differences?

Once again please continue with great job on developing this app.

Thank you.

Vlado.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: AquaMail Updater
« Reply #6 on: July 02, 2014, 03:50:02 pm »
Pyler's app looks in the download directory on my site.

He asked me to add a text file that gets updated every time sometimes is uploaded, and I did. This is an automated process.

This is where I store .apk's when posting links on the forum, on the main site's download page...

...but I also make builds for specific users with changes to resolve or diagnose specific issues.

Those .apks also end up being uploaded to the same directory, and the version file gets bumped, and then Pyler's app finds them.

There is no change log for these builds.

There may not even commits in my source code (some of those are temporary changes, like "what the heck, let's try changing this line here, maybe it'll stop crashing on this user's Samsung).

Or a commit message may be something like "cleaned up some cruft", etc.

So in other words, you're watching me work, literally. The only thing missing is a web cam (and I'm not young or sexy for it to make sense).

@Pyler - So what's next for your app? Checking for new versions from a cloud server and pushing notifications over GCM? :)
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/

vbjelic

  • Newbie
  • *
  • Posts: 4
Re: AquaMail Updater
« Reply #7 on: July 02, 2014, 04:54:11 pm »
Ha ha. Please do not engage web cam!  ;D

You are doing great job. As I noticed new release is just few minutes ago...

pyler

  • Sr. Member
  • ****
  • Posts: 412
Re: AquaMail Updater
« Reply #8 on: July 02, 2014, 09:07:13 pm »
Changelog can be easy to done, I am thinking if Kostya can with new xversion file upload also changelog file (basically res/raw/changelog.txt?). If Kostya can't, I can handle it myself manually :D

I am working on "new version" notifications. Some things work now, some not yet :P

p.s: I totally forgot! I started development of AquaMailWebCam :P lol
« Last Edit: July 02, 2014, 09:08:55 pm by pyler »
Do you want to use the latest AquaMail version?
Try AquaMail Updater!

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: AquaMail Updater
« Reply #9 on: July 02, 2014, 11:16:24 pm »
It's not that I'm unwilling to upload the changelog, it's that there is *no* changelog!

There are commit messages in the source control system, but 1) they're not public 2) they're really for developers use 3) of which there is only one.

And they sometimes look like this:

aqm - let's go all the way and use an AtomInteger!

aqm - wording in the changelog

aqm - fixed bad startActivity error reporting / checks / toasts

aqm - Bundle#getString(key, def) is API 12, seriously?

aqm - nonces for Tasker broadcasts


If I ever see an AquaMailWebCam, I'll move to Antarctica and get eaten by rougue penguins. So please be responsible :)
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/

pyler

  • Sr. Member
  • ****
  • Posts: 412
Re: AquaMail Updater
« Reply #10 on: July 03, 2014, 12:32:30 am »
I will handle it myself then :)
Do you want to use the latest AquaMail version?
Try AquaMail Updater!

Droidlovinyogi

  • Newbie
  • *
  • Posts: 33
Re: AquaMail Updater
« Reply #11 on: July 03, 2014, 06:12:30 am »
A yes...the drama of it all. So pyler is it okay ask what direction you might go with the updater app? Please know that I'm not asking for ETA's, just what we might expect.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: AquaMail Updater
« Reply #12 on: July 03, 2014, 02:32:47 pm »
Funny, I'm often asked: *when* are you going to have feature X? mail app Y has had it for Z years :)

Maybe I should have written an update checker instead :)

/ Think I should stop posting in this thread. This is Pyler's party, and congratulations :)
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/

pyler

  • Sr. Member
  • ****
  • Posts: 412
Re: AquaMail Updater
« Reply #13 on: July 03, 2014, 05:20:47 pm »
I see no drama here. I did changelog & cancel download feature and now I must test "update" notifications.

Okey, guys. Try test v1.1 (download it in first post). I added what I said.
+ show changelog (when new version, or Menu > Changelog.  Basically it just loads this -> http://pyler.wen.ru/aquamail/changelog.txt :D When I have time, I will put Kostya's notes when he releases new version. Ok?
+ option to Cancel download
+ update notifications (maybe here are some bugs, but it works quite well for me -> I have never worked with Alarm Manager and notifications in my short Android development history)

Quote from: Kostya
Maybe I should have written an update checker instead
Well, you are right indeed. If AquaMail had own update checker, I would not write this app. :) I just trolling, I know you are one-man development team and somebody I can't believe how one man could write such a great app. Once again thanks and hats off.
« Last Edit: July 03, 2014, 09:22:05 pm by pyler »
Do you want to use the latest AquaMail version?
Try AquaMail Updater!

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12742
Re: AquaMail Updater
« Reply #14 on: July 03, 2014, 08:37:34 pm »
Aqua does have an update checker -- for the direct-download version.

For the Google Play version, the system provides update notifications just fine.

But only for Google Play updates, of course -- so your app handles the one remaining missing part, notifications for development builds, for those who want to use them.

It's very valuable, hopefully this way there is better testing coverage from actual use.

On a related note: I've been thinking about using Play's Beta release mechanism, but it only works with Google+ or Google Groups. My G+ profile only has a handful of followers, and I think it's mostly spammers.

----

Didn't I promise to shut up?
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/