* to contain {@link FileDetailFragment#FILE} with an OCFile and also\r
* {@link FileDownloader#EXTRA_ACCOUNT} with the account.\r
* \r
- * @param nonEmptyFragment\r
- * True, to enable file detail rendering\r
+ * @param nonEmptyFragment True, to enable file detail rendering\r
*/\r
public FileDetailFragment(Intent intent) {\r
mLayout = R.layout.file_details_fragment;\r
/**\r
* Use this method to signal this Activity that it shall update its view.\r
* \r
- * @param intent\r
- * The {@link Intent} that contains extra information about this\r
- * file The intent needs to have these extras:\r
+ * @param intent The {@link Intent} that contains extra information about\r
+ * this file The intent needs to have these extras:\r
* <p>\r
* \r
* {@link FileDetailFragment#FILE}: An {@link OCFile}\r
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