> For the complete documentation index, see [llms.txt](https://emotiv.gitbook.io/cortex-library-for-mobile/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://emotiv.gitbook.io/cortex-library-for-mobile/java-api/emotivlibraryloader-class.md).

# EmotivLibraryLoader class

```java
import com.emotiv.EmotivLibraryLoader;
```

Use the EmotivLibraryLoader to load the Cortex library and all its dependencies.

## Constructor

```java
public EmotivLibraryLoader(Application applicationContext)
```

The argument must be an object of type [android.app.Application](https://developer.android.com/reference/android/app/Application)

## load

```java
public void load()
```

This function loads the Cortex library and all its dependencies. You must call it exactly on time. You must call it before calling any function of [CortexLib](/cortex-library-for-mobile/java-api/cortexlib-class.md) or [CortexClient](/cortex-library-for-mobile/java-api/cortexclient-class.md).
