How to make an Installer App for Android -



How to make an Installer App for Android -

i thinking making app can install it's own apps, google play does. want app run @ system's startup , check in server new version, if detects new one, download , install it, upgrading old app.

i want myself, because don't want place app in google play since testing new business model app sharing , selling.

is there documentations or apis this? couldn't find much things online, found many installer apps, not many docs.... help welcome!

edit:

to create clear....apis downloading content, making app run @ startup , etc. easy find online, can't find api installing apk, gets apk , transforms installed app.

there few ways accomplish it.

1. implement yourself

a. create service , register broadcastreceiver android android.intent.action.boot_completed scheme event.

b. download apk if there new version

c. utilize below code install apk, override current app.

intent intent = new intent(intent.action_view); uri uri = uri.fromfile(new file(file:///pathtoapk)); intent.setdataandtype(uri, "application/vnd.android.package-archive"); startactivity(intent); 2. there handy open source library

please find https://code.google.com/p/auto-update-apk-client/

android installer apk installation

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -