> For the complete documentation index, see [llms.txt](https://dev-docs.dcentwallet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev-docs.dcentwallet.com/dcent-biometric-wallet-for-mobile/dcent-biometric-sdk-android/setup.md).

# Setup

## Bluetooth pairing with Biometric Wallet <a href="#bluetooth-paring" id="bluetooth-paring"></a>

In order to  develope android application with D'CENT biometric wallet, you must first connect your mobile phone together with the Biometric Wallet via Bluetooth pairing. Bluetooth pairing is required only once during the initial connection setup.

* Refer to : <https://userguide.dcentwallet.com/biometric-wallet/android-connect>

## Android App Setup

You can develop wallet application using D'CENT Andoird SDK.&#x20;

The <mark style="color:blue;">`.aar`</mark> file in output directory is our sdk library file.

Copy <mark style="color:blue;">`dcent-biometric-sdk-android-vX.X.aar`</mark> file to <mark style="color:blue;">`libs`</mark> folder in your android application project.

<div align="center"><figure><img src="/files/YBop384lfScetVgIXP9U" alt=""><figcaption></figcaption></figure></div>

Add the following to your **build.gradle** and **manifest** file:

#### build.glade(:app)

```
dependencies {
    // # add dcent-biometric-sdk-android-vX.X.aar file
    implementation files('libs/dcent-biometric-sdk-android-vX.X.aar')

    // # required to use dcent-biometric-sdk-android
    implementation 'com.google.protobuf:protobuf-java:3.5.1'
    implementation 'org.web3j:core:3.3.1-android'
    implementation 'com.klaytn.caver:core:1.0.0'
}
```

#### AndroidManifest.xml

```
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />

<!-- Bluetooth permissions: Android API >= 31 (Android 12)-->
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" tools:targetApi="s" />
```

###

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://dev-docs.dcentwallet.com/dcent-biometric-wallet-for-mobile/dcent-biometric-sdk-android/setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
