- sourcePathName
- Jar or APK file with "classes.dex". (May expand this to include "raw DEX" in the future.)
- outputPathName
- File that will hold the optimized form of the DEX data.
- flags
- Enable optional features. (Currently none defined.)
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException If unable to open the source or output file.
Open a DEX file, specifying the file in which the optimized DEX data should be written. If the optimized form exists and appears to be current, it will be used; if not, the VM will attempt to regenerate it. This is intended for use by applications that wish to download and execute DEX files outside the usual application installation mechanism. This function should not be called directly by an application; instead, use a class loader such as dalvik.system.DexClassLoader.