Android Developers | Android.com

API Diff Specification
To Level: | 5
From Level: | 4
Generated | 2009.11.19 19:35

Statistics

## Class android.app.`Service`

Added Methods
`int` `onStartCommand`(`Intent,` int, int) |
`void` `startForeground`(`int,` Notification) |
`void` `stopForeground`(`boolean`) |

Changed Methods
`void` `onStart`(`Intent,` int) | Now deprecated. |
`void` `setForeground`(`boolean`) | Now deprecated. |

Added Fields
`int` `START_CONTINUATION_MASK` |
`int` `START_FLAG_REDELIVERY` |
`int` `START_FLAG_RETRY` |
`int` `START_NOT_STICKY` |
`int` `START_REDELIVER_INTENT` |
`int` `START_STICKY` |
`int` `START_STICKY_COMPATIBILITY` |