public class
ProviderInstaller
extends Object
A utility class for installing a dynamically updatable Provider
to replace
the platform default provider.
Nested Class Summary
interface | ProviderInstaller.ProviderInstallListener | Callback for notification of the result of provider installation. |
Constant Summary
String | PROVIDER_NAME |
Public Constructor Summary
Public Method Summary
static void |
installIfNeeded(Context context)
Installs the dynamically updatable security provider, if it's not already installed.
|
static void |
installIfNeededAsync(Context context, ProviderInstaller.ProviderInstallListener listener)
Asynchronously installs the dynamically updatable security provider, if it's not already
installed.
|
Inherited Method Summary
Constants
Public Constructors
public ProviderInstaller ()
Public Methods
public static void installIfNeeded (Context context)
Installs the dynamically updatable security provider, if it's not already installed.
public static void installIfNeededAsync (Context context, ProviderInstaller.ProviderInstallListener listener)
Asynchronously installs the dynamically updatable security provider, if it's not already installed. This method must be called on the UI thread.
Parameters
listener | called when the installation completes |
---|