On Thu, Apr 7, 2011 at 9:30 AM, Amit <agrawalamit2...@gmail.com> wrote: > Thanks Mark! > > Does this mean, for Version_Codes, RELEASE field provide string as > shown in list. > > Build.VERSION_CODES(int) Build.VERSION.RELEASE(String) > 3. 1.5 > 4. 1.6 > 5. 2.0 > 6. 2.0.1 > 7. 2.1 > 8. 2.2 > 9. 2.3 > > > Is there any way, RELEASE may return string other than as shown in > list for given VERSION_CODES.
There are no guarantees as to what RELEASE will be for any given API level. For example, RELEASE might be 2.2 or 2.2.1 or 2.2.2 for API level 8, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy -- 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