[
https://issues.apache.org/jira/browse/CB-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498861#comment-13498861
]
Alfredo commented on CB-1875:
-----------------------------
window.resolveLocalFileSystemURI(this.filePath, fileWin,
this.UploadErrorCallBack);
function fileWin(entryObject)
{
try
{
if (typeof blackberry != "undefined")
{
// BlackBerry
blackberry.io.file.readFile(xhr.Context.filePath, readWin, false);
}
else
{
// IPhone; Android
var fr = new FileReader();
fr.onloadend = function(e)
{
readWin(xhr.Context.filePath,
e.target.result);
}
fr.readAsDataURL(entryObject);
}
}
catch(err)
{
}
}
> FileReader.readAsDataURL
> ------------------------
>
> Key: CB-1875
> URL: https://issues.apache.org/jira/browse/CB-1875
> Project: Apache Cordova
> Issue Type: Bug
> Components: BlackBerry
> Affects Versions: 2.1.0
> Environment: BlackBerry 9300
> Reporter: Alfredo
> Assignee: Tim Kim
>
> The API FileReader.readAsDataURL is not implemented in cordova 2.1.0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira