# Android の設定

Android アプリの設定には、2 通りの方法があります。

1. [Monaca クラウド IDE 経由で設定する方法](https://ja.docs.monaca.io/reference/config/android/pages/-MfWrbFO9Bn_kuLTWLA_#monaca-クラウド-ide-経由で設定する方法)
2. [設定ファイルを編集する方法](https://ja.docs.monaca.io/reference/config/android/pages/-MfWrbFO9Bn_kuLTWLA_#設定ファイルの編集)

## Monaca クラウド IDE 経由で設定する方法

### Android アプリの設定画面

Android アプリの設定画面 では、Android アプリに適用するパラメーターを設定できます。次の手順に従い、Monaca クラウド IDE の Android アプリの設定画面を表示します。

1. Monaca クラウド IDE のメニューから、`設定 → Android アプリ設定`  を選択します。
2. `Android アプリ設定` 画面が、次のように表示されます。こちらの画面で各種設定を行います。

![](/files/-Mgd5M8F9HKW9BRT3wxJ)

&#x20;   3\. 設定後、 `保存する` ボタンをクリックします。

### 設定できるパラメーター

Android アプリの設定画面で行えることは、アプリ情報の設定、アイコン、スプラッシュファイルの設定、パーミッション ( 権限 ) の設定など、多岐にわたります。画面上で設定できるパラメーターの一覧を、次に記します。

* `許可する外部 URL` : アプリからアクセスできる URL を指定します。デフォルトでは `*` に設定され、すべてのドメインへの接続を許可しています。
* `バックグランド時もアプリを常に実行` : バックグラウンドでも Cordova を実行したい場合には、有効にします。デフォルトは有効です。
* `オーバースクロールを無効` : WebView 上でバウンスを無効にしたい場合には、有効にします。デフォルトは有効です。
* `WebView エンジン` : デフォルトまたは Crosswalk エンジンのいずれかを選択します。
* `表示時間` : スプラッシュ画面の表示時間を指定します。
* `画面の向き` : アプリ画面の方向を指定します。

## 設定ファイルの編集

Android アプリ用のパラメーターは、次のファイル内に記述されています。

* [config.xml](/reference/config/android/config_xml.md)

{% hint style="info" %}
Android アプリの挙動に関する設定が、上記のファイル内に記述されています。誤って設定した場合、アプリが動作しなくなる恐れがあります。編集する場合には、細心の注意が必要です。
{% endhint %}


---

# 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://ja.docs.monaca.io/reference/config/android/android_configuration.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.
