# Git sample

## 🎯 Purpose

This project is a complete Android application that demonstrates how to integrate the **UnifiedSDK** in a real-world scenario. It gives you a quick overview of the key steps for a successful integration: initialization, configuration, and usage of the SDK's main features.

***

## 📦 What's included

* SDK initialization at app startup
* Required dependency setup
* Sample API calls using the SDK
* Callback and error handling

***

## 🚀 Quick start

### **1. Clone the repository**

```bash
git clone https://gitlab.datalf.chat/customers/unifiedsdk-sample.git
```

### **2. Open in Android Studio**

Open Android Studio → **File > Open** → select the cloned folder.

### **3. Sync and run**

Let Gradle sync the dependencies, then run the app on an emulator or a physical device.

***

## 🔗 Repository access

👉 [**View the project on GitLab**](https://gitlab.datalf.chat/customers/unifiedsdk-sample) — Clone, fork, or browse the source code directly.

***

## 📸 Preview

<figure><img src="/files/YyZOAQtw6T3vrHbZLnWT" alt="A screenshot of the project structure in Android Studio"><figcaption><p>project structure in Android Studio</p></figcaption></figure>

<figure><img src="/files/mHUkDvmMz1pfLxNx6x6T" alt="A screenshot of the running app (main screen)"><figcaption><p>Running app (main screen)</p></figcaption></figure>

<figure><img src="/files/LiYvf3YoFuYQkWIwwQhE" alt="A screenshot of the console/logs showing the SDK successfully initialized"><figcaption><p>console/logs showing the SDK successfully initialized</p></figcaption></figure>

***

## 💡 Tips

{% hint style="info" %}
Make sure you have completed **Step 1: Repository** and **Step 2: Dependency** before running the sample, so that all dependencies resolve correctly.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sfbx.io/configuration/step-3-notice-implementation-web-app-tv/android/unified-sdk/git-sample.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
