안드로이드 개발 질문/답변
(글 수 45,052)
Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); Uri uri = Uri.parse("file:///sdcard/1.ppt"); intent.setDataAndType(uri, "application/vnd.ms-powerpoint"); startActivity(intent);
이런식으로 해서 sd카드 내의 파일을 실행하는데요
만약 파일을 res\raw\ 에 복사하면 apk파일 만들 때 같이 합쳐지자나요
이 파일을 부르고 싶을 때는 어떻게 해야 하죠?
예를 들어 위의 1.ppt
파일을 rew\raw\ 이하에 넣어두고 apk로 만든 경우에는 어떻게 해야 할까요?