# 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](https://docs.neopin.io/developers/walletconnect-2.0 "mention")
{% endhint %}

## 1. **Open Sample Project**

Load the DAppSample project through Android Studio.

## 2. Change [WCPeerMeta](https://docs.neopin.io/developers/deprecated/deprecated-neopin-connect-1.0/dapp/android/broken-reference) settings

Change the [WCPeerMeta](https://docs.neopin.io/developers/deprecated/deprecated-neopin-connect-1.0/dapp/android/broken-reference) 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="https://3207921449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqGie2GKzhU3olmN7yiWW%2Fuploads%2FJwVd1g7hmhjO3ys5qgTP%2F_android-dapp-usage-3.png?alt=media&#x26;token=79b9117b-d00b-458a-9d0d-c1bf43071c4e" 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](https://docs.neopin.io/developers/deprecated/deprecated-neopin-connect-1.0/dapp/android/broken-reference) 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="https://3207921449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqGie2GKzhU3olmN7yiWW%2Fuploads%2FqLhBfhsP7xLEE5K8gq0V%2Fandroid-dapp-usage-4.png?alt=media&#x26;token=3e0c4148-483c-4c19-9083-0b78d82bd42a" alt=""><figcaption></figcaption></figure>
