Touchgui/plugins/org.apache.cordova.splashscreen/doc/ja/index.md

changeset 0
e8ccd40d0ef6
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Touchgui/plugins/org.apache.cordova.splashscreen/doc/ja/index.md	Thu Jun 04 14:50:33 2015 +0200
     1.3 @@ -0,0 +1,74 @@
     1.4 +<!---
     1.5 +    Licensed to the Apache Software Foundation (ASF) under one
     1.6 +    or more contributor license agreements.  See the NOTICE file
     1.7 +    distributed with this work for additional information
     1.8 +    regarding copyright ownership.  The ASF licenses this file
     1.9 +    to you under the Apache License, Version 2.0 (the
    1.10 +    "License"); you may not use this file except in compliance
    1.11 +    with the License.  You may obtain a copy of the License at
    1.12 +
    1.13 +      http://www.apache.org/licenses/LICENSE-2.0
    1.14 +
    1.15 +    Unless required by applicable law or agreed to in writing,
    1.16 +    software distributed under the License is distributed on an
    1.17 +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    1.18 +    KIND, either express or implied.  See the License for the
    1.19 +    specific language governing permissions and limitations
    1.20 +    under the License.
    1.21 +-->
    1.22 +
    1.23 +# org.apache.cordova.splashscreen
    1.24 +
    1.25 +このプラグインが表示され、アプリケーションの起動中にスプラッシュ スクリーンを非表示にします。
    1.26 +
    1.27 +## インストール
    1.28 +
    1.29 +    cordova plugin add org.apache.cordova.splashscreen
    1.30 +    
    1.31 +
    1.32 +## サポートされているプラットフォーム
    1.33 +
    1.34 +*   アマゾン火 OS
    1.35 +*   アンドロイド
    1.36 +*   ブラックベリー 10
    1.37 +*   iOS
    1.38 +*   Windows Phone 7 と 8
    1.39 +*   Windows 8
    1.40 +
    1.41 +## メソッド
    1.42 +
    1.43 +*   splashscreen.show
    1.44 +*   splashscreen.hide
    1.45 +
    1.46 +### Android の癖
    1.47 +
    1.48 +あなたの config.xml を以下の設定を追加する必要があります。
    1.49 +
    1.50 +`<preference name="SplashScreen" value="foo" />` `<preference name="SplashScreenDelay" value="10000" />`
    1.51 +
    1.52 +Foo ができれば 9 パッチファイル splashscreen ファイルの名前です。 解像度/xml ディレクトリの適切なフォルダーの下に splashcreen ファイルを追加することを確認します。 2 番目のパラメーターは、スプラッシュ ・ スクリーンがの表示時間 (ミリ秒単位) を表します。 デフォルトでは 3000 ミリ秒です。 詳細については、[アイコンとスプラッシュ画面][1]を参照してください。
    1.53 +
    1.54 + [1]: http://cordova.apache.org/docs/en/edge/config_ref_images.md.html
    1.55 +
    1.56 +## splashscreen.hide
    1.57 +
    1.58 +スプラッシュ スクリーンを閉じます。
    1.59 +
    1.60 +    navigator.splashscreen.hide();
    1.61 +    
    1.62 +
    1.63 +### ブラックベリー 10、WP8、iOS の気まぐれ
    1.64 +
    1.65 +`config.xml`ファイルの `AutoHideSplashScreen` 設定する必要があります `false` 。 遅延を 2 秒間スプラッシュ スクリーンを非表示、タイマーを追加しますで次のように `deviceready` イベント ハンドラー。
    1.66 +
    1.67 +        setTimeout(function() {navigator.splashscreen.hide();}, 2000年);
    1.68 +    
    1.69 +
    1.70 +## splashscreen.show
    1.71 +
    1.72 +スプラッシュ画面が表示されます。
    1.73 +
    1.74 +    navigator.splashscreen.show();
    1.75 +    
    1.76 +
    1.77 +アプリケーションを呼び出すことはできません `navigator.splashscreen.show()` 、アプリが開始されるまで、 `deviceready` イベントが発生します。 しかし、以来、通常スプラッシュ画面アプリ開始前に表示するものですと思われる、スプラッシュ スクリーンの目的の敗北します。 いくつかの構成を提供する `config.xml` は自動的に `show` スプラッシュ画面、アプリを起動後すぐに、それが完全に起動し、受信する前に、 `deviceready` イベント。 詳細についてはこの構成を行うには、[アイコンとスプラッシュ画面][1]を参照してください。 このような理由から、それは可能性を呼び出す必要があります `navigator.splashscreen.show()` アプリ起動時のスプラッシュ画面を見やすくします。
    1.78 \ No newline at end of file

mercurial