उपयुक्त पार्सर

public class AaptParser
extends Object

java.lang.ऑब्जेक्ट
com.android.tradefed.util.AaptParser


क्लास जो 'एएपीटी डंप बैजिंग' के आउटपुट को पार्स करके एपीके से जानकारी निकालती है।

aapt PATH पर होना चाहिए

सारांश

सार्वजनिक तरीके

String getLabel ()
getNativeCode ()
String getPackageName ()
int getSdkVersion ()
int getTargetSdkVersion ()
String getVersionCode ()
String getVersionName ()
boolean isRequestingLegacyStorage ()

जांचें कि क्या ऐप लीगेसी स्टोरेज का अनुरोध कर रहा है।

boolean isUsingPermissionManageExternalStorage ()
static AaptParser parse (File apkFile, AaptParser.AaptVersion aaptVersion)

एपीके से जानकारी पार्स करें।

static AaptParser parse (File apkFile)

एपीके से जानकारी पार्स करें।

सार्वजनिक तरीके

लेबल प्राप्त करें

public String getLabel ()

रिटर्न
String

मूल कोड प्राप्त करें

public  getNativeCode ()

रिटर्न

getPackageName

public String getPackageName ()

रिटर्न
String

getSdkVersion

public int getSdkVersion ()

रिटर्न
int

getTargetSdkVersion

public int getTargetSdkVersion ()

रिटर्न
int

getVersionCode

public String getVersionCode ()

रिटर्न
String

संस्करणनाम प्राप्त करें

public String getVersionName ()

रिटर्न
String

isRequestingLegacyStorage

public boolean isRequestingLegacyStorage ()

जांचें कि क्या ऐप लीगेसी स्टोरेज का अनुरोध कर रहा है।

रिटर्न
boolean यदि AndroidManifest.xml में requestLegacyExternalStorage सत्य है तो बूलियन सत्य लौटाता है

isUsingPermissionManageExternalStorage

public boolean isUsingPermissionManageExternalStorage ()

रिटर्न
boolean

पार्स

public static AaptParser parse (File apkFile, 
                AaptParser.AaptVersion aaptVersion)

एपीके से जानकारी पार्स करें।

पैरामीटर
apkFile File : एपीके फ़ाइल

aaptVersion AaptParser.AaptVersion : aapt संस्करण

रिटर्न
AaptParser यदि जानकारी निकालने में विफल रहा तो AaptParser या null

पार्स

public static AaptParser parse (File apkFile)

एपीके से जानकारी पार्स करें।

पैरामीटर
apkFile File : एपीके फ़ाइल

रिटर्न
AaptParser यदि जानकारी निकालने में विफल रहा तो AaptParser या null