SyntaxFix
Write A Post
Hire A Developer
Questions
Have you tried using the PackageManager#getActivityInfo() method? There will be a field that should contain the name of the application.
PackageManager#getActivityInfo()
See the answer to a very similar question here.