Skip to main content
Inspiring
October 18, 2011
Answered

Any good Native extensions for iOS yet?

  • October 18, 2011
  • 26 replies
  • 9958 views

Hi,

I wonder if there are any usable native extensions around yet for iOS features?

I have only found these: http://www.adobe.com/devnet/air/native-extensions-for-air.html which seems to be mostly tech-demos (battery, network info etc). I thought at least in-app-purchases, Game Center support, iAds, alertbox etc should have been released by now?

Since I have no knowledge in objective-c I can't do it myself, but I would gladly pay for ANE-files that are usable in real projects.

/Karl

This topic has been closed for replies.
Correct answer MilkmanGames

to the original question - I've made extensions for iOS Game Center and Android AdMob (commercial) -

Android AdMob Extension for Adobe AIR

iOS Game Center Extension for AIR

let me know what else you think would be cool!

26 replies

Known Participant
October 28, 2012

http://code.google.com/p/flash-for-mobile/

qq讨论群:56892018

version for iphone and ipad https://github.com/lilili87222/admob-for-flash

this is a actionscript native extension for developer to ad advertisement to their air mobile application run on iphone or android.it very easy to use

admob for flash android this lib enable you to add admob ad to your flash air application to add native advertisement to your actionscript3 application you just need to do four step

1.replace D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.1\lib\android\lib\resources\android-res.jar with android-res.jar

2. add this config to -app.xml

<android>
<manifestadditions>
<![CDATA[
<manifest android:installLocation="auto"> 
<uses-sdk android:targetSdkVersion="11"/> <uses-sdk android:minSdkVersion="8"/> 
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application>
<!-- <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation"/> --> <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
</application>

Unknown end tag for </manifest>

]]>
</manifestadditions>
</android>

3.add this config to -app.xml

<extensions>
<extensionid>
so.cuo.ane.Admob
</extensionid>
</extensions>

4. add code to your android air application like follow 

test1(); private function test1():void { 
var admob:Admob=Admob.getInstance(); if(admob.isSupported){ 
admob.setUnitId(gid); admob.dispatcher.addEventListener(AdEvent?.onReceiveAd,this.adHandler); admob.dispatcher.addEventListener(AdEvent?.onFailedToReceiveAd,this.adHandler);

// admob.showRelation(AdMobAlignment?.ALIGN_BOTTOM,AdType?.BANNER); 

admob.show(50,100,AdType?.BANNER);
}else{ 
trace("not support");
}
}

protected function adHandler(event:AdEvent?):void { 
trace("receive ad");
}
Known Participant
October 8, 2012

http://lilili87222.github.com/admob-for-flash/

user can show all type of banner ad and full screen(interstitial advertising) ad of admob

user can show landscope and portrait advertising in actionscript 3 mobile application

user can set postion of ad

easy to use

Inspiring
October 8, 2012

http://darkredz.com/ios-uiwebview-and-videoplayer-native-extension-for-air-mobile/

This one if for better html and video control on iOS. (uses Apples UIwebview method)

Works great and is a LOT easier & many more options available to use than stagewebview.

(Great support too!)

JP

Known Participant
October 10, 2012

http://lilili87222.github.com/admob-for-flash/ more act and more ad type for admob

User Unknow
Legend
February 5, 2012

I made Extension that receive UDID from device =) This is helpfull for user highscore for example if you want to store it on some server

MilkmanGamesCorrect answer
Participating Frequently
November 20, 2011

to the original question - I've made extensions for iOS Game Center and Android AdMob (commercial) -

Android AdMob Extension for Adobe AIR

iOS Game Center Extension for AIR

let me know what else you think would be cool!

Inspiring
November 9, 2011

hi I was develop a extension for adMob, it's run fine in device, but when I package for app-store and submit it with the app loader it's causes error that I need to specify armv6 or armv7, I open the info.plist and there is specified armv7. Anyone have a solution?

Thank you!

Participant
November 11, 2011

Any luck with this? I've also been trying to build a native extension for ads but don't have it working yet

November 11, 2011

Hi Rybram:

Can you describe the specific problem you are facing so we can help?

Participant
October 30, 2011

HI I posted an example of NativeAlerts for IOS with callbacks,  you can find it at www.liquid-photo.com/

October 18, 2011

forums.adobe.com/message/3976194 hope that helps. I also have samples written for alerts and iAds will share soon.

KarlCfsAuthor
Inspiring
October 18, 2011

Thanks Saumitra, I'm looking forward to alerts and iAds.

Do you know if anyone is working on Game Center support?

Known Participant
October 18, 2011

I agree, I'd love to see available ANE files that are easily usuble in real projects!