Friday, April 27, 2012

How to obtain the Android API Level of a device


How can I find out which API Level my device is using?



I checked the firmware version of it. It's 1.6. Does that mean it uses API Level 4?


Source: Tips4all

2 comments:

  1. Yes, it does. Programmatically, use Build.VERSION: http://developer.android.com/reference/android/os/Build.VERSION.html

    ReplyDelete
  2. Platform Version API Level

    Android 2.1 -> 7

    Android 2.0.1 -> 6

    Android 2.0 -> 5

    Android 1.6 -> 4

    Android 1.5 -> 3

    Android 1.1 -> 2

    Android 1.0 -> 1

    and yes, you can also use the Build.VERSION()

    ReplyDelete