can't find file created with android phonegap app on windows explorer
$10-30 USD
Cancelled
Posted about 10 years ago
$10-30 USD
Paid on delivery
can't find text file created with android phonegap app on windows explorer
Here is code.
<!DOCTYPE html>
<html>
<head>
<title>FileWriter Example</title>
<script type="text/javascript" charset="utf-8" src="[login to view URL]"></script>
<script type="text/javascript" charset="utf-8">
// Wait for Cordova to load
//
[login to view URL]("deviceready", onDeviceReady, false);
// Cordova is ready
//
function onDeviceReady() {
[login to view URL]([login to view URL], 0, gotFS, fail);
}
function gotFS(fileSystem) {
[login to view URL]("[login to view URL]", {create: true, exclusive: false}, gotFileEntry, fail);
}
function gotFileEntry(fileEntry) {
[login to view URL](gotFileWriter, fail);
}
function gotFileWriter(writer) {
[login to view URL] = function(evt) {
[login to view URL]("contents of file now 'some sample text'");
[login to view URL](11);
[login to view URL] = function(evt) {
[login to view URL]("contents of file now 'some sample'");
[login to view URL](4);
[login to view URL](" different text");
[login to view URL] = function(evt){
[login to view URL]("contents of file now 'some different text'");
}
};
};
[login to view URL]("some sample text");
}
function fail(error) {
[login to view URL]([login to view URL]);
}
</script>
</head>
<body>
<h1>Example</h1>
<p>Write File</p>
</body>
</html>
I work in a communications agency in Milan and, I happen very often have to do this kind of work. I garintere be able to complete the work on time. Iacopo Guarneri