Natural selection is testing this #Altcoins season 🌊. In this cycle, many are once again diving deep into research, searching for “the best” after Bitcoin & @Joseinnewworld makes waves 124 #NFTs — Wow, a strong signal for those still weighing their moves. #eCash $XEC #CryptoNews pic.twitter.com/GB3dRvH01U
— NFToa (@nftoa_) September 26, 2025
I just want to display my version name on my login screen, but it always returns null. I have defined my versionName in my app's gradle build, and I call it like this, is this correct?
BuildConfig.VERSION_NAMESolution
The above method is wrong, it should be like this:
PackageInfo pInfo = getPackageManager().getPackageInfo(getPackageName(), 0 ); String version = pInfo.versionName; //Version Name int verCode = pInfo.versionCode; //Version Code
