Android-DFU-Library | Device Firmware Update library and Android app

 by   NordicSemiconductor Java Version: 2.3.0 License: BSD-3-Clause

kandi X-RAY | Android-DFU-Library Summary

kandi X-RAY | Android-DFU-Library Summary

Android-DFU-Library is a Java library typically used in Networking applications. Android-DFU-Library has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However Android-DFU-Library build file is not available. You can download it from GitHub, Maven.

A library with DFU feature for Android 4.3+.

            kandi-support Support

              Android-DFU-Library has a low active ecosystem.
              It has 680 star(s) with 241 fork(s). There are 57 watchers for this library.
              It had no major release in the last 12 months.
              There are 50 open issues and 255 have been closed. On average issues are closed in 59 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of Android-DFU-Library is 2.3.0

            kandi-Quality Quality

              Android-DFU-Library has 0 bugs and 0 code smells.

            kandi-Security Security

              Android-DFU-Library has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              Android-DFU-Library code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              Android-DFU-Library is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              Android-DFU-Library releases are available to install and integrate.
              Deployable package is available in Maven.
              Android-DFU-Library 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.
              It has 30025 lines of code, 358 functions and 144 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed Android-DFU-Library and discovered the below as its top functions. This is intended to give you an instant insight into Android-DFU-Library implemented functionality, and help decide if they suit your requirements.
            • Override this to handle the extra information
            • Parse the error status code
            • Creates and returns the DFU service implementation for the given intent
            • Assigns custom UUID to custom UUID
            • Performs a DFU request
            • Writes the init packet to the specified characteristic
            • Starts the firmware image
            • Registers a new progress listener
            • Register a progress listener
            • Creates a notification channel
            • Checks if the client is compatible with buttonless
            • Abort the playback
            • Registers a listener for the DFU service
            • Sets the scope for a zip file
            • Checks if the client is compatible with the given intent
            • Closes the zip input stream
            • Performs the DFU implementation
            • Clean up resources
            • Initializes the DFU service
            • Handles the DFU request
            • Performs a Bluetooth device search using the specified selector
            • Check if the DFU is compatible with the client
            • Request the DFU service
            • Starts the DFU service
            • Calculates the bin size of the input stream
            • Reads the manifest from a ZIP file
            Get all kandi verified functions for this library.

            Android-DFU-Library Key Features

            No Key Features are available at this moment for Android-DFU-Library.

            Android-DFU-Library Examples and Code Snippets

            STM32F103 Cannot jump to bootloader from app
            Lines of Code : 33dot img1License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            static void JumpToBootloader(void) 
              void (*SysMemBootJump)(void);
              volatile uint32_t addr = 0x1FFF0000;
              SysTick->CTRL = 0;
              SysTick->LOAD = 0;
              SysTick->VAL = 0;
            Image dump fails during operation
            Lines of Code : 12dot img2License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            $ sudo apt-get install dfu-util                                              
            $ sudo apt-get install fwupd 
            $  lsusb | grep DFU                                                          
            Bus 003 Device 076: ID 0483:
            Connect usb scale in Ubuntu, cdc_acm says failed to set dtr/trs
            Lines of Code : 18dot img3License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            sudo sh -c 'cat > /etc/udev/rules.d/49-stm32.rules' <

            Community Discussions

            Trending Discussions on Android-DFU-Library


            How to get uri to included asset in Uno Platform?
            Asked 2020-Oct-22 at 13:01

            For integrating with a android binding project I need to provide a Uri pointing to a .zip file, which I have included in the assets and designated as AndroidAsset. How do I get the Uri for such a file? I already tried ms-appx:///Assets/ and file:///Assets/

            Update: Import to note is, that the function consuming the Uri is Android native code, so I suspect that ms-appx:// doesn't get resolved properly.

            Update2: It is not possible to provide a stream. The method I am calling is shown in the sample here:



            Answered 2020-Oct-22 at 10:13

            The method StorageFile.GetFileFromApplicationUriAsync can be used to get a StorageFile object from an ms-appx Uri.

            Then you can use the Path property of the StoragFile to get the local android path. Make note to set the build action of the file as Content.


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install Android-DFU-Library

            The DFU library is available on Maven Central repository. Add it to your project by adding the following dependency:. Latest version targeting API lower than 31 is 1.11.1. For projects not migrated to Android Jetpack, use version 1.8.1. Note: Those versions are not maintained anymore. All new features and bug fixes will be released on the latest version only. If you use proguard/R8, add the following line to your proguard rules (although this should be added automatically): -keep class** { *; }.


            See the documentation for more information.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone NordicSemiconductor/Android-DFU-Library

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Java Libraries


            by CyC2018


            by Snailclimb


            by MisterBooo


            by spring-projects

            Try Top Libraries by NordicSemiconductor


            by NordicSemiconductorJava


            by NordicSemiconductorKotlin


            by NordicSemiconductorJava


            by NordicSemiconductorSwift


            by NordicSemiconductorSwift