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

In-App-Purchase-Air-Ios (extension inside, need help on how to use it :P)

Explorer ,
Oct 17, 2011 Oct 17, 2011

Copy link to clipboard

Copied

Code examples: http://code.google.com/p/in-app-purchase-air-ios/w/list

Extension download: http://code.google.com/p/in-app-purchase-air-ios/downloads/list

How do I use this with my Flash CS5.5 Pro (IDE)?

They show examples with using ADT command line stuff.

TOPICS
Development

Views

2.5K

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
Oct 17, 2011 Oct 17, 2011

Copy link to clipboard

Copied

Hi:

Currently release IDE's like FB and Flash Pro are not aware of the new switches added to ADT for Native extensions, hence they cannot be used to package applications using NEs. But you can automate the building process with the help of ant task follow the steps on http://www.riaspace.com/2011/03/packaging-air-application-for-ios-devices-with-adt-command-and-ant-s... and provide -extdir switch just as described in Wikis of the 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
New Here ,
Oct 30, 2011 Oct 30, 2011

Copy link to clipboard

Copied

Hi Saumitra Bhava,

Nice examples of Native Extensions. I am having an issue when trying to use a block in Objective-c Something as simple as

- (void) searchForAlbums

{

    void(^test)(void) = ^{

        NSLog( @"BLOCK CALLED" );           

    };

    test();

}

does not work and FlashBuilder reports the following error.

ld: absolute addressing (perhaps -mdynamic-no-pic) used in -[MobileImagePicker searchForAlbums] from /var/folders/nw/nwjKk-0UFzKXgLSHtcbjxE+++TI/-Tmp-/534267c1-6c13-4a8e-98d6-6c8357d4f355/libuk.co.betadesigns.extension.NativeImagePicker.a(MobileImagePicker.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs

Compilation failed while executing : ld64

Have you tried using blocks in an iOS extension?

Regards

Anthony

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
Guest
Oct 30, 2011 Oct 30, 2011

Copy link to clipboard

Copied

Hi anthony: You can see the gyroscope extension for ios which uses blocks. Sent from my mobile

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 ,
Oct 31, 2011 Oct 31, 2011

Copy link to clipboard

Copied

Hi Saumitra,

I downloaded the gyro sample and went through the build settings it seems that the default preprocessor macros that xcode adds to a new target were what was causing the issue.

I have documented the fix here for anyone else that has the same issue.

http://www.liquid-photo.com/2011/10/30/common-native-extension-issues/

thanks for the help

Anthony

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 ,
Nov 08, 2011 Nov 08, 2011

Copy link to clipboard

Copied

LATEST

Hi!

Any chance to get the Android equivalent soon?

Thanks!

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