Read the package name of an Android APK

aapt dump badging <path-to-apk> | grep package:\ name

You can install the apk on your phone, then

connect using adb, you can launch adb shell and execute pm list packages -f, which shows the package name for each installed apk.

This taken from Find package name for Android apps to use Intent to launch Market app from web