Cancelled

can't find file created with android phonegap app on windows explorer

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="[url removed, login to view]"></script>

<script type="text/javascript" charset="utf-8">

// Wait for Cordova to load

//

[url removed, login to view]("deviceready", onDeviceReady, false);

// Cordova is ready

//

function onDeviceReady() {

[url removed, login to view]([url removed, login to view], 0, gotFS, fail);

}

function gotFS(fileSystem) {

[url removed, login to view]("[url removed, login to view]", {create: true, exclusive: false}, gotFileEntry, fail);

}

function gotFileEntry(fileEntry) {

[url removed, login to view](gotFileWriter, fail);

}

function gotFileWriter(writer) {

[url removed, login to view] = function(evt) {

[url removed, login to view]("contents of file now 'some sample text'");

[url removed, login to view](11);

[url removed, login to view] = function(evt) {

[url removed, login to view]("contents of file now 'some sample'");

[url removed, login to view](4);

[url removed, login to view](" different text");

[url removed, login to view] = function(evt){

[url removed, login to view]("contents of file now 'some different text'");

}

};

};

[url removed, login to view]("some sample text");

}

function fail(error) {

[url removed, login to view]([url removed, login to view]);

}

</script>

</head>

<body>

<h1>Example</h1>

<p>Write File</p>

</body>

</html>

Skills: PhoneGap

See more: cordova localfilesystem, html code error, seek writer, seek on, seek now, seek for android, root for android, html 5 doctype, html 5 charset, find javascript, android on windows, android body type, android 5.0, javascript on android, html 5 android, doctype html 5, phoneGap, phoneGap app, find root, app writer, android writer, android phonegap, cordova sample, javascript load file, sample phonegap app

About the Employer:
( 18 reviews ) ShenZhen, China

Project ID: #5252629

1 freelancer is bidding on average $25 for this job

iacoposk8

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

$25 USD in 3 days
(0 Reviews)
0.0