Oct 19, 2011

Android API Difference between 3.0 and 4.0 OS - Ice Cream Sandwich


API Difference between Honeycomb and Ice Cream Sandwich

The overall difference between API Levels 13 and 14 is approximately 3.95%. The table below lists the numbers of program elements (packages, classes, constructors, methods, and fields) that were added, changed, or removed. The table includes only the highest-level program elements — that is, if a class with two methods was added, the number of methods added does not include those two methods, but the number of classes added does include that class.

Type Additions Changes Removals Total
Packages 5 48 0 53
Classes and Interfaces 90 192 0 282
Constructors 19 2 0 21
Methods 265 94 29 408
Fields 405 34 16 455
Total 804 370 45 1219

Here I found the list of removed classes, methods and interfaces in Android SDK 4.0.


  • ALBUM_ART 
  • freeze ()
  • FX_SURFACE_BLUR 
  • FX_SURFACE_DIM 
  • FX_SURFACE_MASK 
  • FX_SURFACE_NORMAL 
  • GPU 
  • HARDWARE 
  • HIDDEN 
  • hide ()
  • NON_PREMULTIPLIED 
  • obtain (long, long, int, int, int[], PointerCoords[], int, float, float, int, int, int, int)
  • PUSH_BUFFERS 
  • readData
    • type  (float[]) in android.renderscript.AllocationAdapter 
    • type  (int[]) in android.renderscript.AllocationAdapter 
  • SECURE 
  • setAlpha (float)
  • setDataSource (String)
  • setFlags (int, int)
  • setFreezeTint (int)
  • setLayer (int)
  • setMatrix (float, float, float, float)
  • setOrientation (int, int)
  • setPosition (int, int)
  • setSize (int, int)
  • setSummaryOff
    • type  (int) in android.preference.CheckBoxPreference 
    • type  (CharSequence) in android.preference.CheckBoxPreference 
  • setSummaryOn
    • type  (int) in android.preference.CheckBoxPreference 
    • type  (CharSequence) in android.preference.CheckBoxPreference 
  • setTransparentRegionHint (Region)
  • show ()
  • subData (int, FieldPacker)
  • subData1D
    • type  (int, int, byte[]) in android.renderscript.AllocationAdapter 
    • type  (int, int, float[]) in android.renderscript.AllocationAdapter 
    • type  (int, int, int[]) in android.renderscript.AllocationAdapter 
    • type  (int, int, short[]) in android.renderscript.AllocationAdapter 
  • subData2D
    • type  (int, int, int, int, float[]) in android.renderscript.AllocationAdapter 
    • type  (int, int, int, int, int[]) in android.renderscript.AllocationAdapter 
  • subElementData (int, int, FieldPacker)
  • SURACE_FROZEN 
  • SURFACE_BLUR_FREEZE 
  • SURFACE_DITHER 
  • SURFACE_FROZEN 
  • SURFACE_HIDDEN 
  • unfreeze ()