add some comments

This commit is contained in:
fkloft 2014-01-20 23:47:05 +01:00
parent 7425058951
commit d5da36a180

View File

@ -262,6 +262,7 @@ public class IITC_FileManager {
mResultCode = resultCode;
mData = data;
// read file in new thread using Runnable interface, see run()
new Thread(this, "FileRequestReader").start();
}
@ -272,6 +273,9 @@ public class IITC_FileManager {
Uri uri = mData.getData();
File file = new File(uri.getPath());
// now create a resource that basically looks like:
// someFunctionName('<url encoded filename>', '<base64 encoded content>');
mStreamOut.write(
(mFunctionName + "('" + URLEncoder.encode(file.getName(), "UTF-8") + "', '").getBytes());