license: > Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.

title: ストレージ toc_title: Store data

ストレージ

コルドバの記憶域オプションの概要です。

いくつかのストレージ Api は、コルドバのアプリケーションで使用できます。Html5rocks を参照してください。完全な概要と例。

LocalStorage

Web ストレージシンプルなストレージ、またはその代替セッション ストレージインターフェイスによってまた知られている、この API 同期キー/値ペアの記憶域を提供し、WebView の基になる実装で利用可能です。 詳細については、W3C 仕様を参照してください。

WebSQL

この API は、基になる web ビューで利用可能です。 Web の SQL データベースの仕様を利用してより多くのフル機能を備えたデータベース テーブル アクセス SQL クエリ。

次のプラットフォームをサポートして WebSQL:

  • アンドロイド
  • ブラックベリー 10
  • iOS
  • Tizen

IndexedDB

この API は、基になる web ビューで利用可能です。Indexeddbは LocalStorage より多くの機能よりも少ない WebSQL を提供しています。

次のプラットフォームでは、IndexedDB をサポートします。

  • ブラックベリー 10
  • Firefox の OS
  • Windows Phone 8
  • Windows 8

プラグイン ベースのオプション

Api が上記保存だけでなく、ファイル APIできますローカル ファイル システム上のデータをキャッシュします。 コルドバのプラグインの他の同様のストレージ オプションを提供します。