Dalvik.SystemInterop.DexFile.IsDexOptNeeded Method
Returns true if the VM believes that the apk/jar file is out of date and should be passed through "dexopt" again.

Syntax

[Android.Runtime.Register("isDexOptNeeded", "(Ljava/lang/String;)Z", "")]
public static bool IsDexOptNeeded (string fileName)

Parameters

fileName
the absolute path to the apk/jar file to examine.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.FileNotFoundExceptionif fileName is not readable, not a file, or not present.
Java.IO.IOExceptionif fileName is not a valid apk/jar file or if problems occur while parsing it.
Java.Lang.NullPointerExceptionif fileName is null.
Dalvik.SystemInterop.StaleDexCacheErrorif the optimized dex file is stale but exists on a read-only partition.

Remarks

Returns true if the VM believes that the apk/jar file is out of date and should be passed through "dexopt" again.

[Android Documentation]

Requirements

Namespace: Dalvik.SystemInterop
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1