I have several general question about ApplicationInfo and PackageInfo classes. Here they are:
- Can someone describe the difference between ApplicationInfo and PackageInfo?
- How do they correlate with each other?
- In which cases ApplicationInfo is used and when PackageInfo is used?
Thank you for the help!
EDIT:
First of all, before posting such a question I've read official documentation and googled. Here are some additional questions that are unclear to me. Sorry, maybe I did not ask them appropriately:
- PackageInfo can have ApplicationInfo object with NULL value. When it is possible? (I guess this is connected with the uninstalled packages)
- ApplicationInfo contains uid of the application. Is it possible that PackageInfo does not have uid (when ApplicationInfo is null?).
So these kind of questions. I do not understand these connections.