Atalasoft MobileImage API Reference
Public Member Functions | Static Public Member Functions | List of all members
com.kofax.kmc.kut.utilities.AppContextProvider Class Reference

This class keeps a reference of the application context. More...

Inheritance diagram for com.kofax.kmc.kut.utilities.AppContextProvider:

Public Member Functions

void onCreate ()

Static Public Member Functions

static Context getContext ()
static void setContext (Context context)

Detailed Description

This class keeps a reference of the application context.

This class keeps a reference of the application context. In order to use the Mobile SDK, you must first set a valid application context. Alternately, you can specify the AppContextProvider class in your application's Manifest, as the name attribute of the <application> element:

android:theme="@style/AppTheme" >

Member Function Documentation

static Context com.kofax.kmc.kut.utilities.AppContextProvider.getContext ( )

Returns the application context

application context
void com.kofax.kmc.kut.utilities.AppContextProvider.onCreate ( )
static void com.kofax.kmc.kut.utilities.AppContextProvider.setContext ( Context  context)

Sets the application context

contextA valid application context.

The documentation for this class was generated from the following file:
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.