I want to install an apk file from my application.
I have created an app that contains a button, when I click that button then another apk that I have stored in res
It probably will not work with an android.resource Uri. Try copying the APK out to external storage and doing the install from there.
android.resource
Uri