티스토리 뷰



PackageInfo pInfo = null;
try{
	pInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
} catch(PackageManager.NameNotFoundException e) {
    // e.printStackTrace();
}
String version = pInfo.versionName;


댓글
댓글쓰기 폼