File apkFile = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/AndroidScrollPager.apk");
    Intent intent = new Intent(Intent.ACTION_VIEW);
    intent.setDataAndType(Uri.fromFile(apkFile), "application/vnd.android.package-archive");
    startActivity(intent);

 

위 코드를 쓰니까 인스톨 확인창이 나와서 설치까지는 됐거든요

근데 문제는 어플을 종료하고 다시 실행하면 제 어플이 안나오고 새로 인스톨한 apk파일이 나와버려요

이거 어떻게 해결할 방법이 없을까요??