Closed huanghantao closed 5 years ago
You can get the application name from Manifest.
package main
import (
"github.com/shogo82148/androidbinary/apk"
)
func main() {
pkg, _ := apk.OpenFile("your-android-app.apk")
defer pkg.Close()
name := pkg.Manifest().App.Name
}
thx
@huanghantao @shogo82148 looks like info.Manifest().App.Label.String()
is correct one for now
How to get the appname of apk?