> For the complete documentation index, see [llms.txt](https://docs.wisej.com/hybrid/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wisej.com/hybrid/start/api/navigation/wisej.hybrid.devicelauncher.md).

# DeviceLauncher

Namespace: **Wisej.Hybrid**

Assembly: **Wisej.Hybrid** (3.5.0.0)

Provides methods to interact with app launching and external file opening on the device.

{% tabs %}
{% tab title="C#" %}

```csharp
public class DeviceLauncher
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class DeviceLauncher
```

{% endtab %}
{% endtabs %}

Access this class through the [Device](/hybrid/start/api/general/wisej.hybrid.device.md) singleton.

## Constructors

### ![](/files/CCV9PPenlC1YZvNh1I6R)DeviceLauncher()

Initializes a new instance of [DeviceLauncher](/hybrid/start/api/navigation/wisej.hybrid.devicelauncher.md).

## Methods

### ![](/files/CCV9PPenlC1YZvNh1I6R)CanOpen(url)

Checks whether a given app link can be opened on the device.

| Parameter | Type                                                          | Description                                               |
| --------- | ------------------------------------------------------------- | --------------------------------------------------------- |
| **url**   | [String](https://docs.microsoft.com/dotnet/api/system.string) | The app link (e.g., "lyft://") to check for availability. |

**Returns:** [Boolean](https://docs.microsoft.com/dotnet/api/system.boolean). true if the app link can be opened; otherwise, false.

### ![](/files/CCV9PPenlC1YZvNh1I6R)Open(url)

Attempts to open the given application link on the device.

| Parameter | Type                                                          | Description                                                           |
| --------- | ------------------------------------------------------------- | --------------------------------------------------------------------- |
| **url**   | [String](https://docs.microsoft.com/dotnet/api/system.string) | The application link (e.g., "lyft://ridetype?id=lyft\_line") to open. |

### ![](/files/CCV9PPenlC1YZvNh1I6R)Open(popoverTitle, fileName, fileData)

Opens the given file using the default app associated with its file type.

| Parameter        | Type                                                          | Description                                       |
| ---------------- | ------------------------------------------------------------- | ------------------------------------------------- |
| **popoverTitle** | [String](https://docs.microsoft.com/dotnet/api/system.string) | The title for the file picker popover (iOS only). |
| **fileName**     | [String](https://docs.microsoft.com/dotnet/api/system.string) | The name of the file to open.                     |
| **fileData**     | [Byte\[\]](https://docs.microsoft.com/dotnet/api/system.byte) | The byte array containing the file's data.        |

See: <https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/appmodel/launcher>. **Throws:**

* [NotImplementedException](https://docs.microsoft.com/dotnet/api/system.notimplementedexception) Thrown if the file opening operation is not supported.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.wisej.com/hybrid/start/api/navigation/wisej.hybrid.devicelauncher.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.
