finding out Class Name
Posted
by Aviral
on Stack Overflow
See other posts from Stack Overflow
or by Aviral
Published on 2010-06-17T08:27:25Z
Indexed on
2010/06/17
8:33 UTC
Read the original article
Hit count: 265
android
Hi.. From ApplicationInfo we can get the name of the package of the apk running. For example I have in my code { ApplicationInfo xyz; String abc= xyz.packageName; }
This would return the name of the package of the application running. But can we find out the name of the class as well from the name of the .apk running or the one we are trying to access. I want to know how to get the name of the main class of the apk at the run time.
Thanks a lot Aviral
© Stack Overflow or respective owner