[Android] 앱버젼 체크
1. manifaset.xml 에 어플리케이션의 버젼을 정의힌다.
2. source에서
1
2
3
4
5
6
7
|
String version;
try {
PackageInfo pi = context.getPackageManager().getPackageInfo(context.getPackageName(), 0);
version = pi.versionName;
} catch(NameNotFoundException e) { }
|
이것도 충분히 간단한 코드이긴 한데 더 좋은 방법이 있으면 댓글 달아주시기 바랍니다. :)
Best Baccarat to play against the house
답글삭제If you don't know who you are, you probably know that the name Baccarat is derived from the famous 인카지노 Chinese joker 카지노사이트 game. It is played by 바카라 two teams of