Documentation
¶
Index ¶
Examples ¶
Constants ¶
View Source
const ( APK_SIGNATURE_SCHEME_V2_BLOCK_ID = 0x7109871a APK_CHANNEL_BLOCK_ID = 0x71777777 )
Variables ¶
This section is empty.
Functions ¶
func NewApk ¶
Example ¶
apk, err := _go.NewApk("../test.apk") if err != nil { panic(err) } fmt.Println(apk.Path()) fmt.Println(apk.Channel()) fmt.Println(apk.Extras()) newApk, err := apk.PutChannel("rrrr", "") if err != nil { fmt.Println(err) return } fmt.Println(newApk.Path()) fmt.Println(newApk.Channel()) fmt.Println(newApk.Extras())
Output: ../test.apk rock map[package_name:com.battery.cdyj version_code:10012] ../test-rrrr.apk rrrr map[package_name:com.battery.cdyj version_code:10012]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.