开发者

android : Know build info of my application

Is there any way to know and show the build version info of my application. I can get version of my app. I want to know on which platform was my app build i.e. 1.6, 2.1 etc. "Build.VERSION.RELEASE"开发者_如何学C gives me the build of the device. Similarly I want build of my application regardless of the device info.

Is there a way to achieve this ?

Thanks


You can get this information from PackageManager and getPackageInfo().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜