January 14, 2014

Android. Support library. Nested fragments and startActivityForResult()

This post will be dedicated for nested Fragments from support library and for their big issue.

There are available methods inside Fragment: startActivityForResult() and onActivityResult(). First one just delegates invocation to FragmentActivty.startActivityFromFragment(), and second one is called from FragmentActivity.onActivityResult().

If this behavior just wrapped around Activity, then how result is delivered into Fragment instance?

January 12, 2014

Android Dashboards - Statistics of first 7 days of 2014 year

Android developers still should care about Gingerbread users. Every month Google publishes platform statistics collected from Play Store.

We are keeping previous statistics and it's quite easy to make some forecast. Month ago we made such forecast for January. Let's check it...

December 23, 2013

How to redirect raw stream to logcat?

Sometimes there is necessary to redirect lot of data, such as xml-file or something else, to logcat output.

Especially useful to see HTTP traffic of your interaction with RESTful server (obviously in debug-mode only). Let's try to wrap and re-direct Java-stream to Android Logcat!

December 19, 2013

Font-icon technique in Android. Critical issue!

This post oriented for those who already read and used font-icon drawables from previous post.

During testing our application we found big issue - on some devices font-icons were invisible in ActionBar. This issue threatens this solution to be deleted from our project.

December 09, 2013

Android Dashboards - December, 2

Android lost Gingerbread users as usual by 2% per month.

Detailed statistics and forecast for next month is available here.


Data originally captured from developer.android.com.