• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    Java
  • Created almost 12 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android binary XML file parser

AXML

AXML is a library designed to parse binary Android XML files (ie : XML files compressed by the Android AAPT tool). This library was first designed to be used inside the Axel app, available on Google Play and GitHub.

Release

LINK

To add this library to your build, add the following line to your project's gradle :

allprojects {
	repositories {
		...
		maven { url "https://jitpack.io" }
	}
}

Then you can just add the dependency like that :

dependencies {
	compile 'com.github.xgouchet:AXML:v1.0'
}

USAGE

You can use the parser either as Sax or Dom.

The following code requires an implementation of the CompressedXmlParserListener interface (which is quite similar to a SaxListener interface) :

File file = ... 
CompressedXmlParserListener listener = ...
new CompressedXmlParser().parse(new FileInputStream(file), listener);

The following code will return the root of a DOM tree :

File file = ... 
Document doc = new CompressedXmlParser().parseDOM(new FileInputStream(file));

LICENCE

Copyright (C) 2012 by Xavier GOUCHET (http://xgouchet.fr, [email protected]) MIT Licence / Expat

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS ( XAVIER GOUCHET ) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

Stanley

An Android app explorer for developers (extract the manifest and other info from any installed application)
Kotlin
95
star
2

Ted

Ted is a text editor for Android, written in java
Java
91
star
3

Elmyr

A utility to make Kotlin/Java tests random yet reproducible
Kotlin
82
star
4

AutoMergeTool

Half automatic merge toolchain for git
Python
43
star
5

Axel

Axel is an Android Xml Editor, written in Java
Java
23
star
6

RockTheGradle

Sample project to demonstrate the use of Gradle's buildSrc project
Kotlin
6
star
7

MuzeiDeezerAlbums

Muzei Deezer Albums
Java
6
star
8

SCPArchive

Java
4
star
9

AndroidLib

Custom common android lib, written in Java
Java
3
star
10

GitStorageProvider

An android app acting as a StorageProvider for local git repositories, with features to pull/push to remote repositories
Java
3
star
11

Talks

A repository for all my talks (powered by GitPitch)
CSS
3
star
12

Config

Store all my Linux/Xubuntu configuration files
CSS
2
star
13

PBTIP

Project for the Android Makers "Property Based Testing in Practice" workshop
Kotlin
2
star
14

ZodiacLock

Java
2
star
15

lost-in-translation

A Music Hack based on EchoNest and Deezer
PHP
2
star
16

ColHarmony

ColHarmony is a Kotlin tool used to bring harmonious color scheme to any picture
Kotlin
2
star
17

Jigsawgram

A python tool to generate Instagram picture with jigsaw effect
Python
1
star
18

Watson

An adnroid app to monitor web page changes
1
star
19

Mesmaeker

A Contract Based Testing framework for java / kotlin
Kotlin
1
star
20

PList

Binary PList parser
Java
1
star
21

Chronorg

A utility android app to handle time travel timelines
Java
1
star