+
+ Uri data = Uri.parse(Environment.getExternalStorageDirectory().getAbsolutePath() + "/owncloud/filename");
+ Log.d("DUPA", data.toString());
+ File f = new File(data.toString());
+ FileInputStream fis = new FileInputStream(f);
+ byte buffer[] = new byte[512];
+ fis.read(buffer);
+ Log.d("DUPA", new String(buffer));
+
+ //Intent intent = new Intent(this, FileDownloader.class);
+ /*intent.putExtra(FileDownloader.EXTRA_FILE_PATH, "/docsy.py");
+ intent.putExtra(FileDownloader.EXTRA_ACCOUNT, mAccount);
+ startService(intent);
+ /*