Tag: android programming

And the Winner for Best Screenplay in an Android Bug Report is …

“People are implementing IPv6 only networks with DHCPv6. Please implement RFC 3315.” by someone named Tyler.

Read MoreComment

TextUtils.isDigitsOnly Returns True if Given an Empty String

I happened across this problem while using the Android SDK’s TextUtils.isDigitsOnly() method recently. This is the body of that method from the API 27 source: Someone filed a bug report against it in January 2012. It seems no progress toward a fix has been made. The app I’m coding is in Kotlin, and my first…

Read MoreComment

Android Studio 3.0 Released. Woo Hoo.

Took me 4 days to realize it, but they have officially released a stable version of Android Studio 3. Woo hoo. I’m officially looking forward to the stable release of Android Studio 3.1 now.

Read MoreComment

Problems with the new GPS Automatic License Notice Generator

Following up on my previous post, here’s a screenshot of the OSS license item for the popular Glide library as generated by version 11.2.2 of the new GPS OSS tools. There are two distinct OSS licenses for the Glide library and the GPS OSS tools finds both of them. But it concatenates the two URLs…

Read MoreComment

Quick Notes On Dockter’s 2015 BABBQ Talk on the Android Gradle Build System

Hans Dockter gave a talk about the Android Gradle build system at Big Android BBQ 2015. (No bbq for me … saw it on youtube … woo hoo)  Dockter addresses the issue of Android build performance in the last half of the talk. A few of my takeaways, for what they’re worth: Android developers should try an upgrade to Gradle…

Read MoreComment

Why I Try Not to Implement Parcelable

The short answer is: Parcelable implementations are overly complicated and brittle,  I’m bad at finding and fixing “Unmarshalling unknown type code” errors and I’m tired of being surprised by them. There are hundreds of questions about Parcelable errors on StackOverflow. I’ve had my fill of trying to implement solutions (e.g. proguard configuration adjustments, read/write out of order, etc) and…

Read MoreComment

Saving State in a Compound Control

If you’re writing an android compound control and you want to save state between config changes, you may want to tell the Android SDK to butt out. That is, you may want your compound control to be fully in charge of saving and restoring the states of its internal views. Why would you want to…

Read MoreComment