• 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 to use NetworkInfo ANE ?

Engaged ,
Aug 08, 2013 Aug 08, 2013

Copy link to clipboard

Copied

I'm using Flash Pro to compile an iOS app.

I need to know th MAC address of the device, and it seems I need to use the native extension made by Adobe.

http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/networkinfo.html

The problem is I can't test the app locally when I include the ANE in the ActionScript settings. Even when not actually using the ANE, just by including it.

I get this error: "The content cannot be loaded because there was a problem loading an extension: Error: Requested extension com.adobe.Networkinfo is not supported for MacOS-x86."

What am I supposed to do? Add and remove the ANE manually everytime I compile for the device?

TOPICS
Performance issues

Views

1.3K

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
Adobe Employee ,
Aug 08, 2013 Aug 08, 2013

Copy link to clipboard

Copied

Please see the post http://forums.adobe.com/message/4586528 , it will help you out with the problem mentioned.

Regards,

Nimit

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 08, 2013 Aug 08, 2013

Copy link to clipboard

Copied

So what you are saying is that I have to repackage 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
Engaged ,
Aug 08, 2013 Aug 08, 2013

Copy link to clipboard

Copied

If I wanted to mess with creating and packaging ANEs I would not have downloaded Adobe's ANE, I'd have made one myself.

In the meantime I found this ANE that works, and doesn't complain when testing locally:

https://github.com/mateuszmackowiak/SystemProperties

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
Adobe Employee ,
Aug 08, 2013 Aug 08, 2013

Copy link to clipboard

Copied

LATEST

Yes, for now you need to repackage the ane with AIR Mobile Simulator (MacOS-x86) and iPhone Simulator (iPhone-x86) in -platform switch and also need to include this target in your extension.xml.

Also, for future perspective could you please open an enhancement request at http://bugbase.adobe.com/ so that we will track this and modify and upload the ane.

Regards,

Nimit

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