I got requirement to host my .apk
file on one public site other than android market or any other app stores. In android market, after registred in to the market the downloded .apk
will automatically installed on mobile without any manual action. So I am willing to create one URL and host my .apk
file in to that and want to download that .apk
in to the android mobile and it has to install automatically.
How can I do that....plz share if any code or links are there regrading this.
If Android device has Settings->Applications->Unknown Sources checked, Android will allow
.apk
installation. If its not checked - you will not succeed.Assuming that check bar is checked and you have downloaded
.apk
file. You can run next code to trigger installation: