Take a look at the PackageManager class...
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--
On Thu, Jun 17, 2010 at 12:27 AM, Aviral Shrivastava aviral...@gmail.comwrote:
We can get the name of the package of a class by using ApplicationInfo
class...
e.g.
in my code I have used
{
ApplicationInfo abc;
String xyz= abc.packageName;
}
I want to know the *name of the class* which implements the main Activity
of the function.or rather the class having main activity of the package
we are getting by abc.packageName.
Thanks Regards
Aviral
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en