Android binary manifest XML file parser library for Golang
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao 8e32cc89f2
fix vet
4 months ago
.drone.yml go mod and readme 4 months ago
LICENSE add license 2 years ago
README.md go mod and readme 4 months ago
appnamelistener.go Expose VersionCode & VersionName 4 years ago
attribute.go init 5 years ago
go.mod go mod and readme 4 months ago
listener.go init 5 years ago
parse.go init 5 years ago
parser.go fix vet 4 months ago
parser_test.go updated 5 years ago
plainlistener.go init 5 years ago

README.md

Android binary manifest XML file parser library for Golang

Build Status

This is a golang port of github.com/xgouchet/AXML.

This package aims to parse an android binary mainfest xml file on an apk file.

Installation

go get gitea.com/lunny/axmlParser

Usage

package main

import (
	"fmt"

	"gitea.com/lunny/axmlParser"
)

func main() {
	listener := new(axmlParser.AppNameListener)
	axmlParser.ParseApk("./myApp.apk", listener)

	fmt.Printf("ActivityName: %v\n", listener.ActivityName)
	fmt.Printf("VersionCode: %v\n", listener.VersionCode)
	fmt.Printf("VersionName: %v\n", listener.VersionName)
}