1.获取当前系统的版本号:

        textView.setText("Product Model: " + android.os.Build.MODEL + "," 
+ android.os.Build.VERSION.SDK + ","
+ android.os.Build.VERSION.RELEASE);

或者:

int currentapiVersion=android.os.Build.VERSION.SDK_INT;
posted on 2012-07-27 18:15  alex_wongh  阅读(517)  评论(0编辑  收藏  举报