axmlprinter | Library for parsing and printing compiled Android

 by   rednaga Java Version: 0.1.7 License: Apache-2.0

kandi X-RAY | axmlprinter Summary

kandi X-RAY | axmlprinter Summary

axmlprinter is a Java library. axmlprinter has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

This is a heavily (almost 100%?) refactor of the Android4ME axmlprinter library/code. Personally I had used the library for years without much issue and it was fast/useful just for printing out Android Manifest files. In the past few years due to people mucking with AXML files and my own boredom, I've refactored most of the code to be tested and more useful in non-command line situations.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              axmlprinter has a low active ecosystem.
              It has 192 star(s) with 55 fork(s). There are 19 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 3 open issues and 3 have been closed. On average issues are closed in 158 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of axmlprinter is 0.1.7

            kandi-Quality Quality

              axmlprinter has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              axmlprinter is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              axmlprinter releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed axmlprinter and discovered the below as its top functions. This is intended to give you an instant insight into axmlprinter implemented functionality, and help decide if they suit your requirements.
            • Prints AxMLPrinter
            • Reads from the specified stream
            • Writes the content to an output stream
            • Prints the XML file
            • Creates a new chunk
            • Get the size of the pool
            • Serialize the resource IDs
            • Serialize the resource pool
            • Reads a section
            • Read pool
            • Serialize the resource section
            • Generate indent
            • Serialize this resource into an XML string
            • Serialize the resource section to XML
            • Returns an XML representation of this resource
            • Append namespace
            • Read the header
            • Returns a serialized chunk of data
            • Read the header
            • Put a string index into the pool
            Get all kandi verified functions for this library.

            axmlprinter Key Features

            No Key Features are available at this moment for axmlprinter.

            axmlprinter Examples and Code Snippets

            No Code Snippets are available at this moment for axmlprinter.

            Community Discussions

            Trending Discussions on axmlprinter

            QUESTION

            APK injection, recompiling android manifest
            Asked 2018-Apr-29 at 16:04
            What I'd like to achieve

            Decompile AndroidManifest.xml packaged in apk from binary form into normal xml file, edit it and recompile it back into binary file acceptable for apk. Basically I need a driver for AXML files

            Short background

            I'm working on an APK injection project. My goal is

            1. Disassemble the dalvik binary
            2. Read AndroidManifest xml and add modifications to it, like change main activity and add permissions
            3. rebuild and sign the apk file

            I use apktool for assembling and disassembling the apk. However the apk tool works only with --no-res option, if apk is disassemled with resources it can not be built back. Here's a github issue describing this bug.

            The problem

            Since I disassemle the apktool d --no-res app-debug.apk with no res flag the Generated android manifest comes in binary form. I can disassemble the manifest using apktool but I can not assemnle it back.

            What I want to be able to do

            I need to either:

            • Find a way to disassemble the manifest and then assemble it back into binary form
            • Find a way to use apktool with resources
            What I have tried so far Disclaimer

            Although stackoverflow is a community for knowledge sharing, and not judging what it's used for - I see a lot of people picking on others in similar questions with accusations for illegal activities.

            What I'm doing is absolutely legal and will not be used to exploit anyone.

            ...

            ANSWER

            Answered 2018-Apr-27 at 06:44

            Installation can give parse error on following condition, see if any met with you -

            • Name of the package is changed after signing: Use the exact name as the signed package is (instead, adjust the name in Manifest)
            • Package. is compiled against on higher API level: Correct the API level in Manifest file.
            • Package is executed from SD-card: Run (install) the apk -file from phones memory OR use adb command to install it.

            You can manually sign your apk as given here.

            Source https://stackoverflow.com/questions/49931372

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

            Vulnerabilities

            No vulnerabilities reported

            Install axmlprinter

            You can download it from GitHub.
            You can use axmlprinter 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 axmlprinter 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

            Contributions welcome! Please follow the simple steps;. If this is too much work, feel free to make an issue and upload a patch set for me to evaluate.
            Find more information at:

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

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/rednaga/axmlprinter.git

          • CLI

            gh repo clone rednaga/axmlprinter

          • sshUrl

            git@github.com:rednaga/axmlprinter.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Java Libraries

            CS-Notes

            by CyC2018

            JavaGuide

            by Snailclimb

            LeetCodeAnimation

            by MisterBooo

            spring-boot

            by spring-projects

            Try Top Libraries by rednaga

            native-shim

            by rednagaC

            DexHook

            by rednagaJava

            keystore-shim

            by rednagaC

            yara-python

            by rednagaC

            URLSniffer

            by rednagaJava