Giter Club home page Giter Club logo

axml's Introduction

Greetings stranger 👋

About… me

Hello, My name's Xavier F. Gouchet, I'm a french multipotentialite, Open Source enthusiast, Android software engineer and team leader, professional speaker and erstwhile teacher.

  • 🔭 I’m currently working on too many projects at the same time. Sci-fi books, music, Kotlin projects…
  • 🌱 I’m currently learning Roku development, and Android Jetpack Compose
  • 👯 I’m looking to collaborate on music, writing, code, …
  • 💬 Ask me about anything, among others Android, testing, Kotlin, Roku, creative writing, music, …
  • 🏳️‍🌈 Be kind to everyone

Reach out to me

Github Stats

Github stats

Top Langs

Years Badge Repos Badge Gists Badge Commits Badge

axml's People

Contributors

abutcher-gh avatar ibotpeaches avatar xgouchet 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar

axml's Issues

Libary crashes when parsing Paypal's manifest

org.w3c.dom.DOMException: 
	at org.apache.harmony.xml.dom.NodeImpl.setName(NodeImpl.java:286)
	at org.apache.harmony.xml.dom.AttrImpl.<init>(AttrImpl.java:55)
	at org.apache.harmony.xml.dom.DocumentImpl.createAttribute(DocumentImpl.java:323)
	at org.apache.harmony.xml.dom.ElementImpl.setAttribute(ElementImpl.java:254)
	at fr.xgouchet.axml.CompressedXmlDomListener.startElement(CompressedXmlDomListener.java:51)
	at fr.xgouchet.axml.CompressedXmlParser.parseStartTag(CompressedXmlParser.java:288)
	at fr.xgouchet.axml.CompressedXmlParser.parseCompressedXml(CompressedXmlParser.java:120)
	at fr.xgouchet.axml.CompressedXmlParser.parse(CompressedXmlParser.java:73)
	at fr.xgouchet.axml.CompressedXmlParser.parseDOM(CompressedXmlParser.java:89)
	at fr.xgouchet.packageexplorer.core.utils.ManifestUtilsKt.parseManifestFile(ManifestUtils.kt:96)
	at fr.xgouchet.packageexplorer.core.utils.ManifestUtilsKt.exportManifestDomFromPackage(ManifestUtils.kt:37)
	at fr.xgouchet.packageexplorer.details.app.AppDetailsSource.subscribe(AppDetailsSource.kt:50)
	…

Bug: crash when trying to parse VectorDrawable binary XML file

I try to parse some XML files, and check if an XML file is indeed a VectorDrawable one:

            try {
                val doc = CompressedXmlParser().parseDOM(ByteArrayInputStream(data))
                Log.d("AppLog", "got docs")
            } catch (e: Exception) {
                e.printStackTrace()
                Log.d("AppLog", "")
            }

For some reason, when I try it, I get java.lang.NegativeArraySizeException: -126 .

How come?

Attached the file.

ic_launcher_foreground.zip

Also attached POC project that I used for this:

apkInfoUsingSaf.zip

Only supported on Android?

I tried using this on a non-Android project and Gradle can't find some libs in the Google repo. This is fine, but it might be good to add to the readme :D

$ gradle build                                                                                 1 ↵
:compileJava

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Could not find com.android.support:support-annotations:23.4.0.
  Searched in the following locations:
      https://repo1.maven.org/maven2/com/android/support/support-annotations/23.4.0/support-annotations-23.4.0.pom
      https://repo1.maven.org/maven2/com/android/support/support-annotations/23.4.0/support-annotations-23.4.0.jar
      https://jcenter.bintray.com/com/android/support/support-annotations/23.4.0/support-annotations-23.4.0.pom
      https://jcenter.bintray.com/com/android/support/support-annotations/23.4.0/support-annotations-23.4.0.jar
      https://jitpack.io/com/android/support/support-annotations/23.4.0/support-annotations-23.4.0.pom
      https://jitpack.io/com/android/support/support-annotations/23.4.0/support-annotations-23.4.0.jar
  Required by:
      project : > com.github.xgouchet:AXML:v1.0

[Q] I/O

hi,

thanks for sharing your code!

by any chance... do you happen to be aware of a library that both reads and writes binary xml?

thank you!

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.