I need to check if a certain application is installed (I know what it is by its package name "com.domain.appname"), and if it's not installed show a toast message. If it's installed, I need to get its version and show a toast message with its version. Is it possible?
The other question (How to get a list of installed android applications and pick one to run) doesn't mention getting the version.