public class ExtractFromZipSoSource extends UnpackingSoSource
SoSource that extracts libraries from a zip file to the filesystem.UnpackingSoSource.Dso, UnpackingSoSource.DsoManifest, UnpackingSoSource.InputDsoStreamON_LD_LIBRARY_PATH, RESOLVE_DEPENDENCIESLOAD_FLAG_ALLOW_IMPLICIT_PROVISION, LOAD_FLAG_ALLOW_SOURCE_CHANGE, LOAD_FLAG_MIN_CUSTOM_FLAG, LOAD_RESULT_CORRUPTED_LIB_FILE, LOAD_RESULT_IMPLICITLY_PROVIDED, LOAD_RESULT_LOADED, LOAD_RESULT_NOT_FOUND, PREPARE_FLAG_ALLOW_ASYNC_INIT, PREPARE_FLAG_FORCE_REFRESH| Constructor and Description |
|---|
ExtractFromZipSoSource(Context context,
java.lang.String name,
java.io.File zipFileName,
java.lang.String zipSearchPattern) |
getLibraryPath, getSoSourceAbis, getSoStorePath, loadLibrary, setSoSourceAbisaddToLdLibraryPath, getLibraryDependencies, toString, unpackLibrarypublic ExtractFromZipSoSource(Context context,
java.lang.String name,
java.io.File zipFileName,
java.lang.String zipSearchPattern)
context - Application contextname - Name of the DSO storezipFileName - Name of the zip file from which we extract; opened only on demandzipSearchPattern - Regular expression string matching DSOs in the zip file; subgroup 1
must be an ABI (as from Build.CPU_ABI) and subgroup 2 must be the shared library basename.