donut property

int get donut

Released publicly as Android 1.6 in September 2009.

Applications targeting this or a later release will get these new changes in behavior:

  • They must explicitly request the Manifest.permission.WRITE_EXTERNAL_STORAGE permission to be able to modify the contents of the SD card. (Apps targeting earlier versions will always request the permission.)

  • They must explicitly request the Manifest.permission.READ_PHONE_STATE permission to be able to be able to retrieve phone state info. (Apps targeting earlier versions will always request the permission.)

  • They are assumed to support different screen densities and sizes. (Apps targeting earlier versions are assumed to only support medium density normal size screens unless otherwise indicated). They can still explicitly specify screen support either way with the supports-screens manifest tag.

  • TabHost will use the new dark tab background design.

Constant Value: 4 (0x00000004)

Added in API level 4

Implementation

static int get donut => Build_VERSION_CODES.DONUT;