Table of Contents
2.3.3から開発をしていなかったため、いきなり4.4でやるといろいろ非推奨になっています。
タブはTabActivity,TabHostの両方が非推奨になっています。過去のソースをあてにするのはやめます。
参考サイト:http://yyyank.blogspot.jp/2013/07/androidapisummarize-deprecated-class.html
| 非推奨 | 代替 | SDK |
|---|---|---|
| ServiceのonStart メソッド | ServiceのonStartCommandメソッド | 1.6 |
| TabActivity | ActionBar | 3.x |
| TabHost | ActionBar | 3.x |
| PreferenceActivity | PreferenceFragment | 3.x |
| AsyncTask | AsyncTaskLoader | 3.x |
| AlertDialogBuilder | DialogFragment | 3.x |
| Activity.showDialog()などActivityのDialog関連のメソッド | DialogFragment | 3.x |
| Contacts | ContactsContract | 3.x |
| AbsoluteLayout | FrameLayoutあるいはRelativeLayout | 3.x |
| android.text.ClipboardManager | android.content.ClipboardManager | 3.x |
| ActivityGroup | FragmentLayout | 3.x |
| Activity#managedQuery | ontentResolverのquery | 4.x |
| Gallery | HorizontalScrollView、ViewPager | 4.1.2 |
| SlidingDrawer | 独自実装もしくはAndroid Open Source Projectのコードを使用 | 4.2 |
| DigitalClock | TextClock | 4.2 |
| DateUtilsの一部 | SimpleDateFormatとか | 4.2 |
| TwoLineListItem | RelativeLayout、LinearLayoutで自作 | 4.2 |

