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.
go get github.com/lunny/axmlParser
package main
import (
"fmt"
"github.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)
}