PH7
PH7

Reputation: 3926

How does Android Market install application?

This is more like general knowledge to understanding Android Market. So, first and foremost, I am sorry I has to ask here. I search for quite a while and still don't understand it. So, here we go.

As far as my knowledge is concerned, packageInstaller does install applications on Android. It does ask for user permission before it carries out installation.

So my question is "Does android market use packageInstaller or it does installation by itself?"

If it does not, there are a few things that I am not clear about.

Upvotes: 3

Views: 891

Answers (1)

Yury
Yury

Reputation: 20936

So, I think I can ask to some your questions. Package installer is not used for installing applications from Android Market - it does installation by itself.

  1. I do not know precisely but I think for the first question you are right. Android Market knows about the permission that the app requires. It also can simply parse the AndroidManifest file of the application.
  2. This is done with the help of GTalkService. You can read more here about it.
  3. In general case no. But yes, if your app is signed with the system signature.

Upvotes: 2

Related Questions