Documentation ¶
Index ¶
Constants ¶
View Source
const ( CHUNK_AXML_FILE = 0x00080003 CHUNK_RESOURCEIDS = 0x00080180 CHUNK_STRINGS = 0x001C0001 CHUNK_XML_END_NAMESPACE = 0x00100101 CHUNK_XML_END_TAG = 0x00100103 CHUNK_XML_START_NAMESPACE = 0x00100100 CHUNK_XML_START_TAG = 0x00100102 CHUNK_XML_TEXT = 0x00100104 UTF8_FLAG = 0x00000100 SKIP_BLOCK = 0xFFFFFFFF )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActivityAction ¶
type ActivityAction struct {
Name string `xml:"name,attr"`
}
type ActivityCategory ¶
type ActivityCategory struct {
Name string `xml:"name,attr"`
}
type ActivityIntentFilter ¶
type ActivityIntentFilter struct { Action ActivityAction `xml:"action"` Category ActivityCategory `xml:"category"` }
type AppActivity ¶
type AppActivity struct { Theme string `xml:"theme,attr"` Name string `xml:"name,attr"` Label string `xml:"label,attr"` IntentFilter []ActivityIntentFilter `xml:"intent-filter"` }
type Application ¶
type Application struct { AllowTaskReparenting bool `xml:"allowTaskReparenting,attr"` AllowBackup bool `xml:"allowBackup,attr"` BackupAgent string `xml:"backupAgent,attr"` Debuggable bool `xml:"debuggable,attr"` Description string `xml:"description,attr"` Enabled bool `xml:"enabled,attr"` HasCode bool `xml:"hasCode,attr"` HardwareAccelerated bool `xml:"hardwareAccelerated,attr"` Icon string `xml:"icon,attr"` KillAfterRestore bool `xml:"killAfterRestore,attr"` LargeHeap bool `xml:"largeHeap,attr"` Label string `xml:"label,attr"` Logo int `xml:"logo,attr"` ManageSpaceActivity string `xml:"manageSpaceActivity,attr"` Name string `xml:"name,attr"` Permission string `xml:"permission,attr"` Persistent bool `xml:"persistent,attr"` Process string `xml:"process,attr"` RestoreAnyVersion bool `xml:"restoreAnyVersion,attr"` RequiredAccountType string `xml:"requiredAccountType,attr"` RestrictedAccountType string `xml:"restrictedAccountType,attr"` SupportsRtl bool `xml:"supportsRtl,attr"` TaskAffinity string `xml:"taskAffinity,attr"` TestOnly bool `xml:"testOnly,attr"` Theme int `xml:"theme,attr"` UiOptions string `xml:"uiOptions,attr"` VmSafeMode bool `xml:"vmSafeMode,attr"` Activity []AppActivity `xml:"activity"` }
type Instrumentation ¶
type Manifest ¶
type Manifest struct { Package string `xml:"package,attr"` VersionCode int `xml:"versionCode,attr"` VersionName string `xml:"versionName,attr"` App Application `xml:"application"` Instrument Instrumentation `xml:"instrumentation"` Sdk UsesSdk `xml:"uses-sdk"` }
type UsesSdk ¶
type UsesSdk struct { Min adb.SdkVersion `xml:"minSdkVersion,attr"` Target adb.SdkVersion `xml:"targetSdkVersion,attr"` Max adb.SdkVersion `xml:"maxSdkVersion,attr"` }
Click to show internal directories.
Click to hide internal directories.