3

phonegap は初めてで、phonegap を使用して iOS 、Android 、および Windows プラットフォーム用のアプリケーションを構築する予定です。

以下の質問があり、

1 -- phonegap フレームワークは、開発者が HTML/Javascript 、CSS でコードを作成するのに役立ち、どのマシンでも作成できると信じています。

2 -- 基本的な UI ができたら、または phonegap を使用してできることのほとんどすべてが完了すると、ネイティブに固有のネイティブ処理が行われます。つまり、iOS では Xcode を使用し、Andoird では Ecllipse を使用します。

3 -- さまざまなプラットフォームで Phonegap アプリケーションを実行するための互換性はありますか。デバイス ブラウザが HTML 5 と互換性がない場合、phonegap アプリが実行されない可能性があると聞きました。iPhone3 で Phonegap アプリを使用できますか (最初の iOS バージョンはおそらく 3)

4

2 に答える 2

4
  1. PhoneGap provides an API (for each platform) and JavaScript library which bridges the gap from your HTML/JavaScript/CSS with the native features of the device. The API and JavaScript Library are actually called Cordova (due to the company being bought out and the API and libraries going open source).

  2. You will need to use a JavaScript / CSS library for UI - you are building a Web App. You can indeed build native UI if need be and launch the PhoneGap Web App for another part of the app, however this will mean you have to repeat this UI on each platform and without custom code (I think, please correct me if I'm wrong) you cannot go from Web App back to the native UI.

  3. This depends on your requirements, if you need it to run on older devices you may hit issues. For all modern/recent devices you should be fine with HTML5 (and a decent UI library such as Sencha Touch and jQuery Mobile).

If you are considering using the PhoneGap Build service, you will lose the flexibility for custom code in the different platforms and are restricted to a pure Web App.

于 2012-06-27T23:55:23.357 に答える
-3
  1. phonegap は javascript ライブラリであり、あらゆるプラットフォーム用のアプリケーションを構築するのに役立ちます。ネイティブのものを使用する必要はありません。すべての電話機能は phoneGap で利用できます。

  2. phoneGap はモバイル UI 向けではありません。そのため、Sencha Touch または Jquery Mobile を使用できます。

  3. アプリのビルドが完了すると、phonegap には、Android .apk ファイルなどのインストール可能なアプリを提供するビルド サービスがあります。

于 2012-06-23T11:34:57.167 に答える