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()
.
精彩评论