---
# System prepended metadata

title: Unistellar Screen Mirroring

---

# Mobile device screen mirroring

Hi all, here are some brief instructions for sharing your phone’s screen with your computer. This will allow you to share what is happening in your Unistellar app directly on your computer without needing to disconnect your phone from your smart telescope. If you happen to run into any issues, please do not hesitate to reach out to one of our team members!

## Android

For android devices, we will use the popular open source screen sharing tool `scrcpy`, which is available for installation on macOS, Windows, and Linux. These instructions assume some familiarity with using the command line on your specific platform, so for additional resources please see [here](https://www.freecodecamp.org/news/command-line-for-beginners/) for MacOS/Linux/*nix or [here](https://www.freecodecamp.org/news/command-line-commands-cli-tutorial/) for Windows.

### Requirements

* A usb cable connecting your phone to your computer
* [ADB](https://developer.android.com/tools/adb) - Tool for communicating between computer and android device

### Installation

1. **Install scrcpy**. Navigate to the scrcpy repository and install the software for your platform. For example, on an Ubuntu flavor of Linux we would enter this into our terminal:

    ```
    apt install scrcpy
    ```

1. **Install ADB**. This can either be done directly from Google’s website, or from the command line in most cases, e.g.:

    ```
    apt install adb
    ```
    
1. **Enable ADB**. To give your computer access to your android device, first enable developer mode on your device, and then toggle on USB debugging in your phone settings menu. For example, on a Pixel device these steps could be summarized as:


    `Open settings > tap "About phone" > repeatedly tap "Build number" > go back > search "USB debugging" > toggle on`

    This process only needs to be done once.

1. **Connect device**. Plug your android device into your computer with your USB cable. Accept any confirmation dialogs that might pop up on your device, and then enter the following into your terminal to complete the connection.

    ```
    scrcpy
    ```
    
    ![image](https://hackmd.io/_uploads/BJHgtFF9a.png)


    You should now be all set to view and control your android device from your computer!  :computer: :iphone: :telescope:
    
## iOS
Please see the companion document [here](https://docs.google.com/document/d/1D1pq_lIi2LC6LcWCpe_uOGaQ6AqRWNNZIJB4e1fb0-A/edit?usp=sharing) for connecting iOS devices