> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-mobile/android-sdk/aplicaciones-de-ejemplo.md).

# Sample applications

Once the Facephi SDK is integrated into your Android project, you need to perform the initial configuration to ensure the biometric solutions work correctly.

Sample applications can be found in the GitHub repository:

[![Android Repository v.2.12.X](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAE10lEQVR4nO1ZW6xcYxTeblHEParu4k5EH4aTufzrW7PWnnMcVHg5BIkXIigqgteKB0GlNJVIPIoHb4qUUh6J4KFH1Kn2EHFPVFP3Uxxk7dnTMzN7Zs+/Z2bPETkr+ZPJzOz1/99a379uOwiW5H8qzrlj1blrFVinRJsV2KHAHgH22bLPSjQT/7auSnQNMx8T/BdkcnLy0JDoJgVeF6K/FPgny7JnhOg1AW40XcGopVgsHhYC9wnwddbDp4D6SonuZeZlIwGhwBVKNDssAIlFtKtKdHluAMz1SrQhNwBJQM+Z54cKQlVPVOCDkYHAfrq9N14qLR8KCGY+09w9ahC6AGannWEgEM65E+IwuiggdIFms8y8ol9PLFsMOmkKzfoK0QI8s9iH13YwwMbsITZd6YNGO2a+VIG1SvT5ALSZEaIHpFJZGVUHwPoenpnwAmEhr1eeYOZTO9DQAP2uwJsKrKkxuxpw7vj4+BG2QufOs++qwJ1K9JIS/SzO3T01NXVQCxMqlZU9gOz0ophl7F5W7JZ9C4XCIV7WSvkvEZ3k4ck1qcoNqU/ZMfRE1STMvMKDjl+meiUuAHvympkvyAtI1bmK18VnvqGrEqtiPaPHdXkBUaLVXmcgerWjAosYGUrxh3ME8qxntPtzcmzsqKSCelPk440f7ULmBaQGXKjAH54GvTqhQIie8Hx4fV4gGiLAC55neTxol7gF9XHpWJCzKPOU5z15OfGwJRofXjLzwXkDkXL5fE+P7OgEZLeHBXYHI5AJotM82fF9Ekh90tHrou8LguCAvIEw88XNLIgmMPX1d5th5xIPNyJFyFy1eid07qyJYvG4Wrl8sn1urFEAaRajsqUGW7Z3VAuqntJk2FYRor0x0ncV2CbApxHdiL6NPscrJLo+yFkE2JjCil+brsGeTg9/Ev/4loXYKnCPxWmrWNW5S6zdbFglbyBrg+BA26tWqZyuzl1kkbJKdJVVzkL0qM3CYtrNJB5WYEsM5BGrLgV4UoAXFXhbgOnYIz/Ek8Ob8/SGEM3FU8rPBNiuRO8L8IoAT1sv1Mh5HcsUKzs8Q54p+MU8lQOI29ovdI9zPJRQUnUu9FUQr9+U6JZhUC1qH4geywIiXpJQtqpQONwnBHewyjt2l9o7PR+xztGMYbTtY9+5rn1R0z1pWVGfQnSrJaAUxd8J8Lww32GWEpGza7Xa0Q3dYRgeb32MjUOF6H4rL6zdzQpAF/LL5q4WMst2C3nW8FgPbgf2oZ0d1iaU+61fKi2PvjNK9nt4tJzpytSwZ5Giy4PT9nsIXKbAT2kgDHSPDnAwMES77CypvLXQ202BxfKmEmJLNAmJX+II8IUQbQ2dW5W6Qb3Svn1AIKu9phtC9GFmXmaQyPPd9kDPtc27AheisgDzHeg1P6z8EQeFrPdinpmL2TaqZ9FO0WmvDdZsSNeTpynCzOf0QakNmTcyisV1l/dGWXJJrN/fG0RvZBkAtohNKbJwOav+DJTaPvAbYBE5Q4g+XkQgH1nHGAxDyuXykVZpjhqIEG0d+rv4KCxbid0hmg0biADzQvRUroMOca5g/UFeQASYDoFSMAoxS1kIbn6PYi/8s+pR4Jum0DqrRHeNYtyUEMsjVrYosKlRvmSRuEjdZAXgIDlpSZYkyE/+BcW+JVjSStXbAAAAAElFTkSuQmCC)](https://github.com/facephi/sdk-mobile-android-samples/tree/2.12.X) [Android Repository Samples](https://github.com/facephi/sdk-mobile-android-samples)

The `2.12.X` branch of the repository contains the following projects, each with its own `SdkData`:

| **Project**                  | **Components**                                                                                                        |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `DemoOnboarding`             | `selphi_component`, `selphid_component`, `tracking_component`                                                         |
| `DemoIDV`                    | `selphi_component`, `selphid_component`, `video_recording_component`, `tracking_component`                            |
| `DemoOnboardingFileUploader` | `selphi_component`, `selphid_mbsdr_component`, `capture_component`, `video_recording_component`, `tracking_component` |
| `DemoRecordingOnboarding`    | `selphi_component`, `selphid_component`, `video_recording_component`, `tracking_component`                            |
| `DemoSelphi`                 | `selphi_component`, `tracking_component`                                                                              |
| `DemoSelphID`                | `selphid_component`, `tracking_component`                                                                             |
| `DemoNFC`                    | `selphid_component`, `nfc_component`, `terms_conditions_component`, `tracking_component`                              |
| `DemoPhingers`               | `phingers_tf_component`, `tracking_component`                                                                         |
| `DemoVideoCall`              | `videocall_component`, `tracking_component`                                                                           |
| `DemoVideoId`                | `video_id_component`, `tracking_component`                                                                            |
| `DemoVoice`                  | `voice_component`, `tracking_component`                                                                               |

They also all include the `sdk`.

## Configure and run applications <a href="#pasos-para-configurar-y-ejecutar-las-aplicaciones" id="pasos-para-configurar-y-ejecutar-las-aplicaciones"></a>

1. Include the username and token provided by Facephi in the file `local.properties` (as described in Installation).
2. Include the `applicationId` from the license in the app's Gradle file.
3. Fill in the data in the `SdkData`.

## SdkData - Data required to use the SDK <a href="#sdkdata---datos-necesarios-para-el-uso-del-sdk" id="sdkdata---datos-necesarios-para-el-uso-del-sdk"></a>

For the application to work correctly, fill in the following data:

```kotlin
// Online license data
val environmentLicensingData: EnvironmentLicensingData = EnvironmentLicensingData(
apiKey = "....."
)

// Offline license data
const val LICENSE = "...."
const val LICENSE_ONLINE = false

// Customer identifier and operation type
const val CUSTOMER_ID = "...."
val OPERATION_TYPE = OperationType.ONBOARDING

// Selphi, with the resource zip file name and configuration data
const val SELPHI_RESOURCES = ".....zip"
val selphiConfiguration = SelphiConfigurationData(
...,
resourcesPath = SELPHI_RESOURCES
)

// SelphID, with the resource zip file name and configuration data
const val SELPHID_RESOURCES = "...zip"
val selphIDConfiguration = SelphIDConfigurationData(
...,
resourcesPath = SELPHID_RESOURCES
)

// Verification services URL
const val BASE_URL = "..."
```

**IMPORTANT:** The `applicationId` of the application must match the one specified in the license.

***
