# Installing a Custom App

## Installing SDK Platform-Tools

Ensure you have latest [platform-tools](https://developer.android.com/studio/releases/platform-tools) installed on your computer system.

If you do not have the SDK "platform-tools" installed on your computer, download it from this link and keep track where the the "platform-tools" folder is located:

{% embed url="<https://developer.android.com/studio/releases/platform-tools>" %}

## Connect the HereLink Blue to a computer

Enable "Developer Mode" on the DataLink by navigating to `Settings`->`About Phone`->`Build Number` and tap at least 7 times on "Build Number."

![](/files/3Z0ovH06gzcAhXOkl6E1)

![](/files/yhfg2ieOKMsBPbvFDT9X)

![](/files/lL7vzP1FDk83uXmN9wmp)

Enable `Settings`->`Developer options`->`USB debugging`

![](/files/09EVkKUKQ60dObdDFfqd)

![](/files/18n5R1Jwbz9qr4Y45s1T)

Using a USB to Micro USB cable, plug the HereLink Blue into a computer and open the computer's terminal command line

![](/files/KuH5snZmbZyMv9MPLjhw)

## Open the Terminal <a href="#open-the-terminal" id="open-the-terminal"></a>

For Windows, navigate to the "platform-tools" folder. In this folder, hold **down Shift and then right-click**. From the menu select the “**Open Command window here**” option. If the option to open the command window is not available, then click on the "open PowerShell window here".<br>

![](https://docs.union-robotics.com/~/files/v0/b/gitbook-28427.appspot.com/o/assets%2F-MTS1Xx6Kx3fwJFjqpWk%2F-MUUbr0dnuRHkGpp73qV%2F-MUUkDY9A-6Upvid92Q7%2FClick-on-the-%E2%80%9COpen-PowerShell-window-here%E2%80%9D-1024x731-1.png?alt=media\&token=28273723-a0ed-48ce-9f01-9c486bfe446d)

For Mac, navigate to the "platform-tools" folder. **Right Click** the folder and select  `Services`->`New Terminal at Folder`

![](/files/NdsYpdfKP446Za56YTY6)

## Check if the unit is connected

Using the computer's terminal, check it the device is connected via the adb command protocol:

Mac:

```
adb devices

```

![](/files/of2gjAUEM8AZb9y3ZXOG)

Windows:

```
.\adb devices

```

![](/files/UaFwLRGKxxtLPIbetYNg)

## Installing .apk using adb

Move the .apk file to the SDK "platform-tools" folder on your computer

![](/files/2tEduF53vVFJrGY9l0lp)

##

Install the .apk using `adb install <app_name>.apk` in your computers terminal

Mac:

```
adb install <app_name>.apk

```

![Mac adb install](/files/ibbC3HChQzGd1swDrzTK)

Windows:

```
.\adb install <app_name>.apk

```

![Windows .\adb install](/files/x4gFmF0bvloZhjNJTskE)

The new app should now appear in the app launcher's list.

![](/files/3f2CnqBzh3Wo0JtfFFlN)

![](/files/BNDchv4lTvTEaaYInFFP)

## Uninstall an app using adb

To remove the app use `adb remove org.myorg.appname`

```
$ adb remove org.myorg.appname
Success
```


---

# 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.cubepilot.org/user-guides/cubepilot-ecosystem/cubepilot-partners/union-robotics/herelink-blue/installing-a-custom-app.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.
