Giter Club home page Giter Club logo

cordova-simplefilemanagement's People

Contributors

torrmal avatar zoutepopcorn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cordova-simplefilemanagement's Issues

Unable work with this file in android

12-05 13:10:55.011: D/CordovaActivity(5707): Resuming the App
12-05 13:10:55.058: D/CordovaActivity(5707): Paused the application!
12-05 13:10:55.058: D/CordovaWebView(5707): Handle the pause
12-05 13:11:01.831: D/CordovaActivity(5707): Resuming the App
12-05 13:11:03.130: D/CordovaActivity(5707): Paused the application!
12-05 13:11:03.130: D/CordovaWebView(5707): Handle the pause
12-05 13:11:03.475: W/IInputConnectionWrapper(5707): showStatusIcon on inactive InputConnection
12-05 13:11:04.038: W/ManagedEGLContext(5707): doTerminate failed: EGL count is 2 but managed count is 1
12-05 13:11:12.888: I/CordovaLog(7548): Changing log level to DEBUG(3)
12-05 13:11:12.888: D/CordovaActivity(7548): CordovaActivity.init()
12-05 13:11:12.965: V/WebViewChromiumFactoryProvider(7548): Binding Chromium to main looper Looper (main, tid 1) {41f0f868}
12-05 13:11:12.973: I/LibraryLoader(7548): Expected native library version number "",actual native library version number ""
12-05 13:11:12.974: I/chromium(7548): [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, default verbosity = 0
12-05 13:11:12.977: I/BrowserStartupController(7548): Initializing chromium process, renderers=0
12-05 13:11:12.990: E/AudioManagerAndroid(7548): BLUETOOTH permission is missing!
12-05 13:11:13.013: I/Adreno-EGL(7548): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018_msm8226_LNX.LA.3.5.1_RB1__release_AU ()
12-05 13:11:13.013: I/Adreno-EGL(7548): OpenGL ES Shader Compiler Version: E031.24.00.08
12-05 13:11:13.013: I/Adreno-EGL(7548): Build Date: 03/07/14 Fri
12-05 13:11:13.013: I/Adreno-EGL(7548): Local Branch:
12-05 13:11:13.013: I/Adreno-EGL(7548): Remote Branch: quic/LNX.LA.3.5.1_RB1.1
12-05 13:11:13.013: I/Adreno-EGL(7548): Local Patches: NONE
12-05 13:11:13.013: I/Adreno-EGL(7548): Reconstruct Branch: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.018 + f2fd134 + NOTHING
12-05 13:11:13.074: W/chromium(7548): [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation
12-05 13:11:13.093: D/CordovaWebView(7548): CordovaWebView is running on device made by: motorola
12-05 13:11:13.097: D/CordovaActivity(7548): CordovaActivity.createViews()
12-05 13:11:13.104: D/CordovaWebView(7548): >>> loadUrl(file:///android_asset/www/index.html)
12-05 13:11:13.104: D/PluginManager(7548): init()
12-05 13:11:13.113: D/CordovaWebView(7548): >>> loadUrlNow()
12-05 13:11:13.126: D/CordovaActivity(7548): Resuming the App
12-05 13:11:13.152: D/SoftKeyboardDetect(7548): Ignore this event
12-05 13:11:13.189: D/OpenGLRenderer(7548): Enabling debug mode 0
12-05 13:11:13.215: D/SoftKeyboardDetect(7548): Ignore this event
12-05 13:11:13.256: D/CordovaWebViewClient(7548): onPageStarted(file:///android_asset/www/index.html)
12-05 13:11:13.257: D/CordovaActivity(7548): onMessage(onPageStarted,file:///android_asset/www/index.html)
12-05 13:11:13.324: D/CordovaLog(7548): file:///android_asset/www/index.html: Line 29 : The key "target-densitydpi" is not supported.
12-05 13:11:13.324: I/chromium(7548): [INFO:CONSOLE(29)] "The key "target-densitydpi" is not supported.", source: file:///android_asset/www/index.html (29)
12-05 13:11:14.135: D/JsMessageQueue(7548): Set native->JS mode to OnlineEventsBridgeMode
12-05 13:11:14.723: D/CordovaActivity(7548): onMessage(spinner,stop)
12-05 13:11:14.724: D/CordovaLog(7548): file:///android_asset/www/index.html: Line 62 : Uncaught ReferenceError: runTest is not defined
12-05 13:11:14.724: I/chromium(7548): [INFO:CONSOLE(62)] "Uncaught ReferenceError: runTest is not defined", source: file:///android_asset/www/index.html (62)
12-05 13:11:14.725: D/CordovaWebViewClient(7548): onPageFinished(file:///android_asset/www/index.html)
12-05 13:11:14.725: D/CordovaActivity(7548): onMessage(onPageFinished,file:///android_asset/www/index.html)
12-05 13:11:17.197: D/SoftKeyboardDetect(7548): Ignore this event
12-05 13:11:17.244: D/SoftKeyboardDetect(7548): Ignore this event
12-05 13:11:22.422: D/SoftKeyboardDetect(7548): Ignore this event
12-05 13:11:23.124: D/CordovaWebViewClient(7548): onPageStarted(file:///android_asset/www/page2.html)
12-05 13:11:23.124: D/JsMessageQueue(7548): Set native->JS mode to null
12-05 13:11:23.124: D/CordovaActivity(7548): onMessage(onPageStarted,file:///android_asset/www/page2.html)
12-05 13:11:23.344: D/JsMessageQueue(7548): Set native->JS mode to OnlineEventsBridgeMode
12-05 13:11:23.469: D/CordovaWebViewClient(7548): onPageFinished(file:///android_asset/www/page2.html)
12-05 13:11:23.469: D/CordovaActivity(7548): onMessage(onPageFinished,file:///android_asset/www/page2.html)
12-05 13:11:23.512: D/CordovaActivity(7548): onMessage(spinner,stop)
12-05 13:11:23.572: D/CordovaLog(7548): file:///android_asset/www/js/painless.js: Line 322 : [object Object]
12-05 13:11:23.572: I/chromium(7548): [INFO:CONSOLE(322)] "[object Object]", source: file:///android_asset/www/js/painless.js (322)
12-05 13:11:23.582: W/System.err(7548): java.io.IOException: open failed: ENOENT (No such file or directory)
12-05 13:11:23.583: W/System.err(7548): at java.io.File.createNewFile(File.java:946)
12-05 13:11:23.583: W/System.err(7548): at org.apache.cordova.file.LocalFilesystem.getFileForLocalURL(LocalFilesystem.java:186)
12-05 13:11:23.583: W/System.err(7548): at org.apache.cordova.file.FileUtils.getFile(FileUtils.java:764)
12-05 13:11:23.584: W/System.err(7548): at org.apache.cordova.file.FileUtils.access$6(FileUtils.java:757)
12-05 13:11:23.584: W/System.err(7548): at org.apache.cordova.file.FileUtils$17.run(FileUtils.java:412)
12-05 13:11:23.584: W/System.err(7548): at org.apache.cordova.file.FileUtils$24.run(FileUtils.java:540)
12-05 13:11:23.584: W/System.err(7548): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
12-05 13:11:23.584: W/System.err(7548): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
12-05 13:11:23.585: W/System.err(7548): at java.lang.Thread.run(Thread.java:841)
12-05 13:11:23.585: W/System.err(7548): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
12-05 13:11:23.585: W/System.err(7548): at libcore.io.Posix.open(Native Method)
12-05 13:11:23.585: W/System.err(7548): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
12-05 13:11:23.586: W/System.err(7548): at java.io.File.createNewFile(File.java:939)
12-05 13:11:23.586: W/System.err(7548): ... 8 more
12-05 13:11:23.590: D/CordovaLog(7548): file:///android_asset/www/js/painless.js: Line 235 : FileManager:
12-05 13:11:23.590: I/chromium(7548): [INFO:CONSOLE(235)] " FileManager:", source: file:///android_asset/www/js/painless.js (235)
12-05 13:11:23.590: D/CordovaLog(7548): file:///android_asset/www/js/painless.js: Line 239 : read file fail:
12-05 13:11:23.591: I/chromium(7548): [INFO:CONSOLE(239)] " read file fail:", source: file:///android_asset/www/js/painless.js (239)
12-05 13:11:23.592: D/CordovaLog(7548): file:///android_asset/www/js/painless.js: Line 246 : [object Object]
12-05 13:11:23.592: I/chromium(7548): [INFO:CONSOLE(246)] "[object Object]", source: file:///android_asset/www/js/painless.js (246)
12-05 13:11:53.090: D/CordovaActivity(7548): Paused the application!
12-05 13:11:53.092: D/CordovaWebView(7548): Handle the pause

Not able to access www folder project folder using phonegap android (painlessfs plugin)

I'm using below code
var f = new DirManager();
f.list('', function(d) {
console.log(d);
});

This gives me output like this=> ["LOST.DIR", "Music", "Podcasts", "Ringtones", "Alarms", "Notifications", "Pictures", "Movies", "Download", "DCIM", "Android"]

I also tried below paths, but still I can't access www folder in my project directory.
file:///storage/sdcard/
file:///android_asset/www/

This will support for IOS

I have planed to develop a Music app for IOS. Is this plug-in will work for IOS. need to create some folder & download for the directories. j

Eg :- //mp3//Album-name// -> create directory
//song.mp3 -> download this file to above directory.

Great idea but...

No updates in years AND you miss things like renaming files, moving files and uploading files.

(You do know the directory listing stuff was commented out of the file-plugin, right?)

Update it, add in the missing features and you could have a hit because this is a huge pain point for so many developers.

Possible bug with directory creation

I think there is a little problem with the check in load_file method which has to create directories. With Cordova 3.5 and Android Kit Kat it gives different errors (9 and 1000 instead of 3) when the folder does not exist. If you change the check everything works fine.

// if target folder does not exist, create it
if(error.code == 3){
Log('FileManager','msg')('folder does not exist, creating it');

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.