That's cause he's using the wrong field... that field is in fact a String, but was deprecated a long long while ago.
He should be using SDK_INT On Wednesday, November 28, 2012 9:25:04 AM UTC-5, Ralph Bergmann wrote: > > Am 27.11.12 11:40, schrieb Fritjof: > > Integer.parseInt(Build.VERSION.SDK) > 13) > > why you parse a int to Integer and let it automatically convert > (unboxing) to int? > > > http://javarevisited.blogspot.de/2012/07/auto-boxing-and-unboxing-in-java-be.html > > > > Ralph > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en