cfjedimaster / Cordova-Examples

A collection of Cordova/Ionic/etc demos.
980 stars 1.07k forks source link

Dont Work #23

Closed danicarla closed 8 years ago

danicarla commented 8 years ago

Hi Guys.

I copied the code exactly as in the example, but does not work . I'm generating the .apk file and installing on my android device... but when I connect the USB can not find the file " log.txt " Editar

cfjedimaster commented 8 years ago

A couple of things.

1) This repo contains many different sample applications. When you say "example", which example do you mean?

That's it actually.

danicarla commented 8 years ago

Hi Raymond.. Sorry , I have not yet affinity with Github , I was referring to writelog

cfjedimaster commented 8 years ago

When you remote debug, what do you see in the console?

danicarla commented 8 years ago

In console say: worked errodebug

cfjedimaster commented 8 years ago

Ok... so what exactly is going wrong?

danicarla commented 8 years ago

When I connect my Android device in computer using USB cable, I don't find the file "log.txt"

cfjedimaster commented 8 years ago

Where are you thinking you will find it?

On Wed, Jun 15, 2016 at 7:34 AM, Dani Carla notifications@github.com wrote:

When I connect my Android device in computer using USB cable, I don't find the file "log.txt"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cfjedimaster/Cordova-Examples/issues/23#issuecomment-226173685, or mute the thread https://github.com/notifications/unsubscribe/AAYBvDVhtVlAI6sS419IKDZNeEEnKlOqks5qL_FtgaJpZM4I0q__ .

Raymond Camden, Developer Advocate for StrongLoop at IBM

Email : raymondcamden@gmail.com Blog : www.raymondcamden.com Twitter: raymondcamden

danicarla commented 8 years ago

I believed that he would be created somewhere within my Android device

cfjedimaster commented 8 years ago

Ah, so cordova.file.dataDirectory is "private" which means the app can see it, but it isn't available externally. See the docs (https://www.npmjs.com/package/cordova-plugin-file) for other path aliases that would allow for external usage.