虽然AVD中视可以通过,而且在机器上面测试也没有问题
但是eclipse中提示此方法已经过时,showDialog()方法不支持,还有其他的替代方法吗?
API and DEMO:
http://developer.android.com/reference/android/app/DialogFragment.html
http://stackoverflow.com/questions/10285047/showdialog-deprecated-whats-the-alternative
用DialogFragment
http://android-developers.blogspot.in/2012/05/using-dialogfragments.html