NappDownloadManager-mod | Download Manager for Appcelerator Titanium
kandi X-RAY | NappDownloadManager-mod Summary
kandi X-RAY | NappDownloadManager-mod Summary
NappDownloadManager-mod is a Java library. NappDownloadManager-mod has no bugs, it has no vulnerabilities and it has low support. However NappDownloadManager-mod build file is not available. You can download it from GitHub.
This is a download module for Appcelerator Titanium that allows you to add urls and download the files in the background. These versions of the original NappDownloadManager modules have been updated and modified by @kosso. Why u no fork? Due to recent Titanium SDK and Studio updates and changes since these modules were first built, I could not get basic forks of these modules to compile. Also Studio doesn't seem to play well with cross-platform module projects as it used to. So they have been split in to two seperate projects for iOS and Android. I have also added a missing Android jar which was required. The module id is still dk.napp.downloadmanager for both iOS and Android, despite the change in project names. Compiled module zip files can be found in the dist folder for each platform. My usage of these modules required more control over the download queues, in particular the ability to totally 'nuke' and reset the download queue, in case of an app crash or other reason. The original version had some issues where incomplete downloads in the queue could not be safely deleted or removed. [see issues] - particulary when developing an app, since app UIDs change in the stored filepaths on each deployment (to the simulator or device). To clean things up, a method called cleanUp() has been introduced to both platforms which will look for any existing queue data files, read them, then clean up any partial downloads from an aborted previous session and finally delete the queue data files again, completely resetting the queue. I recommend calling it right after instantiating the module, so a clean up can be performed at launch, after a potential crash. And also for good measure before starting a new queue. [@kosso]. Note: I also call the stopDownloader() method immediately after loading the module, after discovering that the module contains a 'heartbeat' which will run constantly in the background unless you stop it. I then call restartDownloader() just before I add download requests with addDownload(url) which trigger downloading.
This is a download module for Appcelerator Titanium that allows you to add urls and download the files in the background. These versions of the original NappDownloadManager modules have been updated and modified by @kosso. Why u no fork? Due to recent Titanium SDK and Studio updates and changes since these modules were first built, I could not get basic forks of these modules to compile. Also Studio doesn't seem to play well with cross-platform module projects as it used to. So they have been split in to two seperate projects for iOS and Android. I have also added a missing Android jar which was required. The module id is still dk.napp.downloadmanager for both iOS and Android, despite the change in project names. Compiled module zip files can be found in the dist folder for each platform. My usage of these modules required more control over the download queues, in particular the ability to totally 'nuke' and reset the download queue, in case of an app crash or other reason. The original version had some issues where incomplete downloads in the queue could not be safely deleted or removed. [see issues] - particulary when developing an app, since app UIDs change in the stored filepaths on each deployment (to the simulator or device). To clean things up, a method called cleanUp() has been introduced to both platforms which will look for any existing queue data files, read them, then clean up any partial downloads from an aborted previous session and finally delete the queue data files again, completely resetting the queue. I recommend calling it right after instantiating the module, so a clean up can be performed at launch, after a potential crash. And also for good measure before starting a new queue. [@kosso]. Note: I also call the stopDownloader() method immediately after loading the module, after discovering that the module contains a 'heartbeat' which will run constantly in the background unless you stop it. I then call restartDownloader() just before I add download requests with addDownload(url) which trigger downloading.
Support
Quality
Security
License
Reuse
Support
NappDownloadManager-mod has a low active ecosystem.
It has 9 star(s) with 5 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
There are 2 open issues and 0 have been closed. On average issues are closed in 960 days. There are 1 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of NappDownloadManager-mod is current.
Quality
NappDownloadManager-mod has no bugs reported.
Security
NappDownloadManager-mod has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
NappDownloadManager-mod does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
NappDownloadManager-mod releases are not available. You will need to build from source code and install.
NappDownloadManager-mod has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed NappDownloadManager-mod and discovered the below as its top functions. This is intended to give you an instant insight into NappDownloadManager-mod implemented functionality, and help decide if they suit your requirements.
- Cleans up the download requests
- Loads the download queue from storage
- Persists this download request to disk
- Delete data files
- Add download
- Add a batch request to this batch
- Reset the download request
- Queues a download request for the specified batch request
- Returns the next download candidate for the given network
- Get the next batch download request candidate
- Get the next download request candidate
- Get the next download request candidate from the specified network types
- Loads the catalog contents from storage
- Persists the download contents to disk
- Deletes a completed download batch
- Gets the allowed network type
- Returns the enum set for the active network
- Adds a complete download batch information to the catalog
- Retrieves the creation of the downloaded download information
- Gets the last available download information
- Get KrollInformation
Get all kandi verified functions for this library.
NappDownloadManager-mod Key Features
No Key Features are available at this moment for NappDownloadManager-mod.
NappDownloadManager-mod Examples and Code Snippets
No Code Snippets are available at this moment for NappDownloadManager-mod.
Community Discussions
No Community Discussions are available at this moment for NappDownloadManager-mod.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install NappDownloadManager-mod
You can download it from GitHub.
You can use NappDownloadManager-mod like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the NappDownloadManager-mod component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
You can use NappDownloadManager-mod like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the NappDownloadManager-mod component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page