저도 동일한 문제 고민하고 있는데요...다운로드 완료 후 Toast.makeText(getApplicationContext(), "다운로드 완료", 0).show(); File apkFile = new File(Environment.getExternalStorageDirectory()+ "/Apps_temp.apk"); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType( Uri.fromFile(apkFile), "application/vnd.android.package-archive"); startActivity(intent);위와같이 하면 자동 설치까지 진행되는걸로 알고 있습니다. 저도 궁금한게 있는데요업데이트 시 기존 파일은 삭제 하지 않아도 되나요?
로그인 유지
저도 동일한 문제 고민하고 있는데요...
다운로드 완료 후
Toast.makeText(getApplicationContext(), "다운로드 완료", 0).show();
File apkFile = new File(Environment.getExternalStorageDirectory()+ "/Apps_temp.apk");
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType( Uri.fromFile(apkFile), "application/vnd.android.package-archive");
startActivity(intent);
위와같이 하면 자동 설치까지 진행되는걸로 알고 있습니다.
저도 궁금한게 있는데요
업데이트 시 기존 파일은 삭제 하지 않아도 되나요?