bharath
bharath

Reputation: 14453

Is this possible like auto install the apk file after downloading from server?

I need to install the apk file from server. Its downloading when i connect to the server. But after downloading, its not automatically install into the mobile. Is this possible like auto install the apk file after downloading it?

Upvotes: 0

Views: 5243

Answers (2)

Yury
Yury

Reputation: 20936

Actually, automatically you cannot install apk file. You can simply call package installer that will ask a user to install apk. If it were not in this way, then a malicious application would have possibility to install malicious applications without user's consent.

Meanwhile, if you're an author of ROM on which this application should run then you can add the functionality of automatic installation to your modified framework. But in general case this is impossible.

Upvotes: 2

Pedro Paiva Portugal
Pedro Paiva Portugal

Reputation: 41

I think that if app was third party you have to update or install manually but if your app is a google app or a known source app you can set it to install automatically

Upvotes: 0

Related Questions