> For the complete documentation index, see [llms.txt](https://docs.verygoodsecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verygoodsecurity.com/vault/developer-tools/vgs-show/android-sdk/samples.md).

# Samples

Examples and references that can help you build your mobile application on top of the VGS Show Android SDK.

This sample demonstrates basic VGS Show Android SDK usage. This sample demonstrates a basic example of how to add extra data & headers to a request. This sample demonstrates how to use transformation regex. This sample of Activity shows you how to support different regions(EU, US). This sample shows how to use custom host names.

<figure><img src="/files/3lXtqMPpQVurx3gNwbUu" alt=""><figcaption></figcaption></figure>

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th align="center"></th></tr></thead><tbody><tr><td><h4>Basic usage</h4></td><td>This sample demonstrates basic VGS Show Android SDK usage.</td><td align="center"><a href="https://github.com/vgs-samples/android-sdk-demo/tree/master/show/src/main/java/com/vgsshow/androiddemo/samples/basic#basic-sample">Open sample</a></td></tr><tr><td><h4>Extra data and headers</h4></td><td>This sample shows a basic example of how to add extra data and headers to the HTTP request.</td><td align="center"><a href="https://github.com/vgs-samples/android-sdk-demo/tree/master/show/src/main/java/com/vgsshow/androiddemo/samples/extra#extra-sample">Open sample</a></td></tr><tr><td><h4>Transformation RegEx</h4></td><td>This sample shows how to use transformation RegEx</td><td align="center"><a href="https://github.com/vgs-samples/android-sdk-demo/tree/master/show/src/main/java/com/vgsshow/androiddemo/samples/regex#regex-sample">Open sample</a></td></tr><tr><td><h4>Multiregional suport</h4></td><td>This sample shows how to use the SDK in the different regions (EU/US/AP).</td><td align="center"><a href="https://github.com/vgs-samples/android-sdk-demo/tree/master/show/src/main/java/com/vgsshow/androiddemo/samples/multiregional#multiregional-support-sample">Open sample</a></td></tr><tr><td><h4>Custom Hostname</h4></td><td>This sample shows how to use SDK with the CNAME.</td><td align="center"><a href="https://github.com/vgs-samples/android-sdk-demo/tree/master/show/src/main/java/com/vgsshow/androiddemo/samples/cname#cname-sample">Open sample</a></td></tr></tbody></table>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.verygoodsecurity.com/vault/developer-tools/vgs-show/android-sdk/samples.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
