• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

How can I add Files to an air mobile Project so that they will be available as native resources for android and iOS?

New Here ,
Aug 08, 2015 Aug 08, 2015

Copy link to clipboard

Copied

...Without having to package them into a native Extension.

TOPICS
Development

Views

315

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 11, 2015 Aug 11, 2015

Copy link to clipboard

Copied

What kind of files are you wanting to include? Are you using Flash Pro or Builder to create your app?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 11, 2015 Aug 11, 2015

Copy link to clipboard

Copied

You may be able to just add the files to the root of the IPA and the native

code may be able to find them.

I have an ANE I developed and its resources get copied to the root of the

IPA when building with flash builder and are available to native code.

Maybe it will also work with resources that aren't from the ANE.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2015 Aug 27, 2015

Copy link to clipboard

Copied

LATEST

I am using Flashbuilder 4.7. The current Solution is to add the Resource File in the respective platform folder before building an ANE. This works.

But ideally there should be an option to add the File inside the App that is using our ANE. Maybe at the time the final app is packaged?

Ideally it would have been possible to add it via FlashBuilder in the actionscript mobile project.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Aug 11, 2015 Aug 11, 2015

Copy link to clipboard

Copied

just place them in the root

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines