# Android

#### **Prasyarat**

* Java JDK. Belum menginstall? [Ikuti tutorial ini.](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
* Android Studio IDE. Belum menginstall? [Ikuti tutorial ini.](https://developer.android.com/studio/index.html)

#### **Install dan Buat Application** <a href="#install" id="install"></a>

1. Download Antares Library untuk Android dengan klik button di bawah lalu extract. Simpan .jar library kedalam penyimpanan lokal komputer Anda.

{% file src="/files/AJCfjov5WjiwXYiXhPEA" %}

2. Klik "Start a new Android Studio Project".

<figure><img src="/files/6h3eDYZNp2uC9FDMinsX" alt=""><figcaption></figcaption></figure>

3. Definisikan Activity Anda. Kami menyarankan Anda untuk memilih "Empty Activity".

<figure><img src="/files/fcdzRcyfdYUGeHa4lGha" alt=""><figcaption></figcaption></figure>

4. Beri nama pada aplikasi Anda<br>

<figure><img src="/files/TY5Qb12q8jeOtTQlNSIF" alt=""><figcaption></figcaption></figure>

5. Klik pada bagian "Android" lalu pindah layout ke "Project".

<figure><img src="/files/CBc1b4p09WGgZ6NwuDhX" alt=""><figcaption></figcaption></figure>

6. Copy-Paste library jar yang telah didownload ke app -> libs.&#x20;

<figure><img src="/files/oZhEZM0vE7H6FBXe4usK" alt=""><figcaption></figcaption></figure>

7. Selamat! Anda telah memasukkan library jar.<br>

<figure><img src="/files/1hVLFHugfKvSOYVj5fob" alt=""><figcaption></figcaption></figure>


---

# 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.antares.id/contoh-kode-dan-library/android.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.
