# Usage

{% hint style="danger" %}
The following information is deprecated and may limit its use. Please refer to the WalletConnect 2.0 tab for the latest version of NEOPIN wallet integration: [WalletConnect 2.0](/developers/walletconnect-2.0.md)
{% endhint %}

## 1. **Open Sample Project**

Load the DAppSample project through Android Studio.

## 2. Change [WCPeerMeta](broken://pages/66BlKPeMovYNZ5X9GHSj#wcpeermeta-structure) settings

Change the [WCPeerMeta](broken://pages/66BlKPeMovYNZ5X9GHSj#wcpeermeta-structure) settings with reference to the following.

* The name, icon, etc. put in WCPeerMeta will be displayed in Wallet.
* icon supports only png and jpg in url format.
* appId is issued by NEOPIN, and consists of a 32 digit string.
  * ex) NWC1004HS6VFTPPPLUGFQBQ5SFNWB79B
  * The Wallet will reject connection of any appId that were not issued normally.
* The name, icon, etc. put in WCPeerMeta will be displayed in Wallet.

```kotlin
ConnectManager.setClient(
    wcSession = WCSession(
        bridge = "https://wc-bridge.neopin.io/",           // Bridge Sever
    ),
    peerMeta = WCPeerMeta(
        appId = "NWC1004HS6VFTPPPLUGFQBQ5SFNWB79B",        // Used as Dapp storage delimiter
        name = "Dapp Sample",                              // Dapp name to display on the screen
        url = "https://www.sample.com/",                   // Dapp introduction URL to display on the screen
        description = "Dapp Platform",                     // Brief introduction
        icons = listOf(""),                                // Dapp icon URL to display on the screen
    )
)
```

## 3. **Run Project**

Run project through Android Studio's Run feature.

<figure><img src="/files/b8JEHIIV8eD7Z76d8hgj" alt=""><figcaption></figcaption></figure>

## 4. **Precautions**

* DAppSample and WalletSample App must both be installed to proceed with the test. If you do not have the WalletSample App installed, please check the WalletSample App installation instructions in the [Wallets](broken://pages/Wykm7STtBvEeH3lQ6fjA) section.
* The URL Schemes used by NEOPIN are as follows. (Android displays a list of choices as follows when using the same Scheme.)

<table><thead><tr><th width="203"> </th><th width="236">DApp</th><th width="250">Wallet</th></tr></thead><tbody><tr><td>Sample App</td><td>X</td><td>nptwc</td></tr><tr><td>NEOPIN App</td><td>your *URL Schemes</td><td>nptwc</td></tr></tbody></table>

<figure><img src="/files/JRgSOuDAaWExn0AGdIjE" alt=""><figcaption></figcaption></figure>


---

# 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.neopin.io/developers/deprecated/deprecated-neopin-connect-1.0/dapp/android/usage.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.
