画面サイズとピクセル化に問題のないiPad用Flashアプリケーション

こんにちは

アップルのモバイルデバイスでFlashが利用可能になってから、それほど時間はかかりません。 Adobe の公式ページャーのマニュアルから判断すると、iPhoneでFlashアプリケーションを組み立てるのはかなり簡単な作業です。

しかし、私たちが望むように、物事はiPadには行きません。



この記事は、iPad専用のFlashアプリケーションを作成する方法に関する秘密のレシピを提供します。



IPAパッケージ



アプリケーションをiTunes経由でデバイスにアップロードしたり、AppStoreに配置したりするには、IPAファイルを作成する必要があります。 これを行うには、指定されたオフィシャルページャーをダウンロードし、指定された指示に従ってください。それに応じて、アプリケーションの通常のコンパイル済みSWF、生成された.mobileprovisionおよび.p12署名が必要です。

パッカーにビルド方法を明確にするために、application.xmlアプリケーション記述子が作成されます。



Flexフレームワークは使用できず、ページャーがクラッシュすることに注意してください。 解決策がある可能性はありますが、それについてはまだわかりません。



問題



そして、ここに問題があります:

画像

実際、iPhone用に作成されたアプリケーションは、iPad上のiPhoneの画面サイズを占有します。 記述子またはステージでinitialWindowのサイズを明示的に指定しても、予想される1024x768ではありません。 ボタン(2x)を押すと、引き伸ばされたピクセルの形のアーティファクトがあります。 とにかく、解像度はiPhoneのままです。



ワンストップソリューション



-...完全に展開する場合、そこにラスターがありますか、それとも通常スケーリングされていますか?

-顕著。

-*どういうわけかあなたに行きます! 着替えます-来ます。

-さあ。



午前中に、私と同志のキブシアクは、ペアプログラミング、ブレーンストーミング、グーグル、ビールで問題を解決しようとしました。

4時間も経たないうちに、万能の万能薬が生まれました。 全体の問題は、iPhoneと呼ばれる十分に文書化されていない記述子パラメーターにあります。 このように書いたので、iPad用の待望のフルスクリーンアプリケーションが手に入ります。



ここに秘密のレシピがあります。



<? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  1. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  2. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  3. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  4. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  5. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  6. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  7. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  8. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  9. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  10. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  11. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  12. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  13. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  14. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  15. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  16. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  17. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  18. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  19. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  20. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  21. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  22. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  23. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  24. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  25. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  26. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  27. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  28. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  29. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



  30. <? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .



<? xml version ="1.0" encoding ="utf-8" ? > < application xmlns ="http://ns.adobe.com/air/application/2.0" > < id > ru.your.application.id </ id > < filename > yourFileNameForApplication </ filename > < name > yourApplication </ name > < version > 1.0 </ version > < supportedProfiles > desktop mobileDevice </ supportedProfiles > < initialWindow > < content > release/yourSWFFile.swf </ content > < transparent > false </ transparent > < visible > true </ visible > < fullScreen > true </ fullScreen > < autoOrients > true </ autoOrients > < aspectRatio > landscape </ aspectRatio > < renderMode > cpu </ renderMode > < width > 1024 </ width > < height > 768 </ height > </ initialWindow > < iPhone > < InfoAdditions > <! [CDATA[ < key > UIDeviceFamily </ key > < array > < integer > 1 </ integer > < integer > 2 </ integer > </ array > ]] > </ InfoAdditions > </ iPhone > </ application > * This source code was highlighted with Source Code Highlighter .







そしてここに彼女は...





アセンブリ用の万能薬、Antビルドファイルを含むプロジェクトのソースコードは、 depositsのこのリンクにあります。

テストアプリケーション自体は、Christian Cantrellの記事から引用したもので、著者はこの問題の解決方法を示しようとしましたが、成功しませんでした。

プロジェクトライブラリにAIR SDKを追加する必要があることを忘れないでください。追加しないと、Christianのコードがコンパイルされません。

ビルドファイルで、パスを調整し、アプリケーションIDを入力し、証明書からストアパスを登録し、.p12および.mobileprovisionに入力する必要があります。 Antの目標pack-ipaは、iPadのIPAファイル(アドホック)を収集し、iPadへのアップロードの準備が整います。 必ず.mobileprovisionファイルをその横に保存してください。 実稼働環境で使用するには、build.xmlのipa-ad-hoc文字をipa-app-storeに置き換える必要があります。



ipa-ad-hocの場合、IPAパケットの形成には16〜25(!)分かかります。



ところで、IPAは通常のZIPアーカイブです。



ダウンロードするには:

-AdobeからIPAへのパッカーSWF

-AIR SDK



関連リンク:

-Flash CS5でiphoneアプリケーションを作成します

- マルチスクリーンAIRアプリの作成

- ビールと合成レシピを飲んだ後、kivsiakによって生成されたAdobeフォーラムのブランチ。 質問を退会することをお勧めします。なぜなら、 これは、iPadの開発がすでに進行中の海外のAdobeコミュニティによって見落とされることはありません。

-iPadでiPhoneアプリを実行する(Pixelingなし!)-私たちを正しい軌道に乗せる恐ろしい操作不能のハック



「カバー」: Space On-Air -iPhone用のFlashで書かれたシンプルなおもちゃ-楽しみのために。



All Articles