# Android UDP Client

## About Android UDP Client

![Haptic Jacket Wifi Module Rendering (Georgios Korres)](/files/-M_vL13a9upi1VHrHbT0)

In reality, the vibration of the Haptic Jacket will be provided by the modules shown above. However, where the modules are **not available physically**, an android app has been designed for testing purposes.

This app acts as a fake module and tests whether the UDP packets can be received from the Controller Appliation on the computer or not.

## Setting Up and Running

Download the Android app [f](https://drive.google.com/file/d/1c3SjEGMCM6_uIJoY_0nN4Bp5_DNB5J8y/view?usp=sharing)rom <https://drive.google.com/file/d/1c3SjEGMCM6_uIJoY_0nN4Bp5_DNB5J8y/view?usp=sharing>

![HapticSim App installed on Android](/files/-M_vKARNBWCoqGrxt8dt)

After installation, tap the middle of the screen to activate.

![HapticSim App Activating Module](/files/-M_vKIeDOD9xDB_8o0cQ)

Once activated, the Android phone will act as a fake module.

An IP and port will be assigned to the phone, and the app will listen for the UDP messages.

![](/files/-M_vKR0M2kYtLAdrud-E)

In the Haptic Jacket Controller Application on Computer, edit the configuration to match the IP and ports in Android App.

Then, hover over the available modules. The Android Phone should receive the UDP packets, display the messages received and vibrate.

![HapticSim receiving UDP Packets from Computer](/files/-M_vKVD_COzOg0AqgmO6)

{% hint style="danger" %}
Currently, this Android UDP Client only works with the macOS Application and not Ubuntu.
{% 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://pi31415.gitbook.io/haptic-jacket/installation-guide/android-udp-client.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.
