Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)

API Change Statistics

The overall difference between API Levels 14 and 15 is approximately 0.14% .


Total of Differences, by Number and Type

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 0 21 0 21
Classes and Interfaces 12 34 0 46
Constructors 2 1 0 3
Methods 25 3 0 28
Fields 38 2 0 40
Total 77 61 0 138

Changed Packages, Sorted by Percentage Difference

Percentage Difference* Package
7 android.speech.tts
3 android.service.textservice
2 android.provider
2 android.database
1 android.view.textservice
1 android.os
1 android.service.wallpaper
1 android.appwidget
<1 android.view.accessibility
<1 android.webkit
<1 android.bluetooth
<1 android.media
<1 android.graphics
<1 android.text.style
<1 android.hardware
<1 android.opengl
<1 android.content
<1 android
<1 android.app
<1 android.view
<1 android.widget

* See Calculation of Change Percentages , below.


Changed Classes and Interfaces , Sorted by Percentage Difference

Percentage
Difference*
Class or Interface
33 android.os.RemoteException
25 android.webkit.WebSettings.LayoutAlgorithm
7 android.graphics.SurfaceTexture
7 android.view.textservice.SpellCheckerSession
7 android.bluetooth.BluetoothDevice
6 android.provider.CalendarContract.CalendarColumns
6 android.service.textservice.SpellCheckerService.Session
6 android.speech.tts.TextToSpeechService
5 android.appwidget.AppWidgetHostView
4 android.view.accessibility.AccessibilityRecord
4 android.database.CursorWindow
4 android.speech.tts.TextToSpeech
4 android.speech.tts.TextToSpeech.Engine
3 android.view.textservice.SuggestionsInfo
3 android.media.CamcorderProfile
3 android.os.Build.VERSION_CODES
3 android.os.IBinder
2 android.provider.CalendarContract.AttendeesColumns
2 android.service.wallpaper.WallpaperService.Engine
2 android.text.style.SuggestionSpan
2 android.content.Intent
1 android.provider.MediaStore
1 android.provider.CalendarContract.EventsColumns
1 android.app.Fragment
1 android.media.MediaMetadataRetriever
1 android.widget.RemoteViews
1 android.hardware.Camera.Parameters
1 android.webkit.WebSettings
<1 android.opengl.GLES11Ext
<1 android.Manifest.permission
<1 android.provider.Settings.Secure
<1 android.view.KeyEvent
<1 android.content.Context
<1 android.view.View

* See Calculation of Change Percentages , below.


Calculation of Change Percentages

The percent change statistic reported for all elements in the "to" API Level specification is defined recursively as follows:

      Percentage difference = 100 * (added + removed + 2*changed)
                        -----------------------------------
                        sum of public elements in BOTH APIs
     

where added is the number of packages added, removed is the number of packages removed, and changed is the number of packages changed. This definition is applied recursively for the classes and their program elements, so the value for a changed package will be less than 1, unless every class in that package has changed. The definition ensures that if all packages are removed and all new packages are added, the change will be 100%.