Cancelled

Android Phonegap File Write Issue

Must test on android 4.1.2 and above version.

File write success on android device, so we can find the file on android file manager.

but to show that file on windows file explorer, connect android with PC, open android device on windows explorer, but we can't find that file.

Here is some reference, but it seems this is not solution.

[url removed, login to view]

[url removed, login to view]

If you are expert, you can do this within a few mins, We have 10+ phonegap project, so if your result is good, we will provide many projects to you.

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>

Happy bid.

Skills: PhoneGap

See more: windows on android, test seek, seek writer, seek test, seek project manager, seek manager, seek for android, root your android, root for android, root android device, root android 4.1.2, js write, file manager android, connect android to pc, android version 4.2.2, android version 4.1.2, android to pc, android pc, android on windows, android on pc, android for pc, android file manager, android file, android device manager, android body type

About the Employer:
( 18 reviews ) ShenZhen, China

Project ID: #5260822

3 freelancers are bidding on average $3074 for this job

iglobalvn

Hi, sir. I have read your requirement carefully I am a Android and iPhone/iPad developer and your project is very interesting for me. My ability is just suitable for your job. I'm guru of mobile app development and I h More

$2000 USD in 30 days
(1 Review)
2.0
tvtdjohnson1

Greetings from True Vision Technologies! We have gone through your project and ready to start the same. We are a blend of onsite - offshore company as our headquarters are in U.S. with our development center in Indi More

$4123 USD in 45 days
(0 Reviews)
0.0
TVTGaryJones

Greetings from True Vision, We are ready to start immediately. We have gone through your project and ready to start the same. We are a blend of onsite - offshore company as our headquarter are in U.S. with our de More

$3100 USD in 30 days
(0 Reviews)
0.0