Wednesday, February 14, 2018

Another one navigation library

Another one not a Cicerone ))

https://github.com/aartikov/Alligator

Alligator is a modern Android navigation library that will help to organize your navigation code in clean and testable way.

Features

  • Screens based on activities, fragments and dialog fragments.
  • Simple yet powerful navigation methods.
  • Independence from activity lifecycle (navigation is available even when an application is in background).
  • Passing screen arguments without boilerplate code.
  • Handling screen result in object oriented style.
  • Screen switching with nested navigation.
  • Flexible animation configuring.

Tuesday, August 8, 2017

Working with images

If you're working with images (as background for example) you could face with big sizes of files.
Something like JPEG file 1280X1920px could take about 0.5 - 1.0M depending of content.
And it increases APK size!
Very nice solution I found is WebP.
You can download one of converters here: xnconvert

In my case I have following result: 789kb -> 96 kb (80% quality)


Friday, July 7, 2017

Market coverage by Android app with minSdkVersion

According google report July 6, 2017. we have following situation:


VersionCodenameAPIDistributionCoverage by app with minSdkVersion
2.3.3 - 2.3.7Gingerbread100.70%100.00%
4.0.3 - 4.0.4Ice Cream Sandwich150.70%99.30%
4.1.x
Jelly Bean
162.80%98.60%
4.2.x174.10%95.80%
4.3181.20%91.70%
4.4KitKat1917.10%90.50%
5
Lollipop
217.80%73.40%
5.12222.30%65.60%
6Marshmallow2331.80%43.30%
7
Nougat
2410.60%11.50%
7.1250.90%0.90%

So, if you're developing with minSdkVersion=21 you cover about 3/4 of market.

And if you're developing with minSdkVersion=19 you cover more than 9/10 of market.