APIレベル13からActivity.showDialog(int id)は非推奨となってしまいました。 DialogFragmentを使ってダイアログを表示させる方法が推奨されています。 (2013年12月12日現在) 参考 公式ドキュメント Dialogs DialogFragmentを利用するときのチェックポイント シンプルなアラートダイアログ ※ 縦横切替時にTestDialogFragmentのコンストラクタがないと落ちるかもしれません(未確認) @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_top); // ダイアログを表示する DialogFragment ne