GithubHelp home page GithubHelp logo

phonegap-zipfile-plugin's People

Contributors

jaggrat-singh avatar vishalrajpal avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

phonegap-zipfile-plugin's Issues

Class not found

having problems with sample code, alert message : class not found.
is there a problem with the cordova2.1.0.js ? ( im using latest ver instead of phonegap 1.3.0.js)

  • but when i use the phonegap1.3.0.js - still i get same error. whats the problem? thanks i nadvance. looking forward to your reply. )

IO Error

I downloading a file using FileTransfer.download() and then trying to unzip it. Here's my code

                                ft.download(dlLocation,
                                        dlPath,
                                        function(entry) { // success

                                            var ZipClient = new ExtractZipFilePlugin();
                                            ZipClient.extractFile(entry.fullPath,
                                            function (status) {
                                                alert('Success'+status);
                                            },
                                            function (error) {
                                                alert('Unzip Error: '+error);
                                            },'ExtractZipFilePlugin');
                                        }, 
                                        function(error) { // fail
                                            alert('Download Error');                                                        

                                        });

I keep geting "IO Error" from the failure Callback. Though the file is downloaded. I know, I checked.

Error in success callback: FileTransfer6 = ReferenceError: extractFile is not defined

I believe I did all that is required to install your PhoneGap-ZipFile

  • I added the JAR file into the src folder
  • I added the ZipPlugin.js
  • I update my HTML to call ZipPlugin.js
  • I updated my res/xml/plugins.xml file

But I get the following error

08-31 11:32:27.850: D/CordovaLog(13258): Error in success callback: FileTransfer6 = ReferenceError: extractFile is not defined

I am using this with FileTransfer.download(), and attempt to unzip the file after it has been downloaded.

I hope you can help me out.

DINO

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.