Intent z = new Intent(Intent.ACTION_DELETE); z.setData(Uri.parse("file:///sdcard/test/test.mp3")); PendingIntent mPendingIntent2 = PendingIntent.getActivity(context, 0, z, PendingInten t.FLAG_UPDATE_CURRENT);
Notification 을 이용해서 알림을 구현하였는데요. 여기서 .addAction이 들어가게 됩니다.
그래서 PendingIntent를 이용하게되는데요. 저렇게 하면 파일이 삭제가 안되더라구요...
혹시 Intent를 이용해서 파일을 삭제하는 방법이 없을까요?