VideoView videoView = (VideoView) mView\r
.findViewById(R.id.videoView1);\r
videoView.setVisibility(View.INVISIBLE);\r
- if (mFile.getPath() == null) {\r
+ if (mFile.getStoragePath() == null) {\r
ImageView imageView = (ImageView) getView().findViewById(\r
R.id.imageView2);\r
imageView.setImageResource(R.drawable.download);\r
if (mFile.getMimetype().startsWith("image/")) {\r
ImageView imageView = (ImageView) mView\r
.findViewById(R.id.imageView2);\r
- Bitmap bmp = BitmapFactory.decodeFile(mFile.getPath());\r
+ Bitmap bmp = BitmapFactory.decodeFile(mFile.getStoragePath());\r
imageView.setImageBitmap(bmp);\r
} else if (mFile.getMimetype().startsWith("video/")) {\r
videoView.setVisibility(View.VISIBLE);\r
- videoView.setVideoPath(mFile.getPath());\r
+ videoView.setVideoPath(mFile.getStoragePath());\r
videoView.start();\r
}\r
}\r