Copy link to clipboard
Copied
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
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!
Copy link to clipboard
Copied
I agree, I'd love to see available ANE files that are easily usuble in real projects!
Copy link to clipboard
Copied
forums.adobe.com/message/3976194 hope that helps. I also have samples written for alerts and iAds will share soon.
Copy link to clipboard
Copied
Thanks Saumitra, I'm looking forward to alerts and iAds.
Do you know if anyone is working on Game Center support?
Copy link to clipboard
Copied
Hey Saumitra,
Any update on the share of those examples?
Cheers!
Copy link to clipboard
Copied
Hi You can find Native alert extension at http://forums.adobe.com/message/3983328#3983328. You can expect iAds sample in next week.
Thanks,
Saumitra Bhave
Copy link to clipboard
Copied
iAds will be very important to my project. Anything about it?
Copy link to clipboard
Copied
I have shared a sample for iAds Native Extensions at http://code.google.com/p/iad-air-ios/. You can give it a try.
Copy link to clipboard
Copied
Thanks Saumitra, looks really interesting!
Are you by any chance looking into making a Game Center extension next? I think that is the most important missing piece when creating games for iOS!
Copy link to clipboard
Copied
Thanks Soumitra.
Now with in-app purchases and iAds extensions sample I'm able to finish my
app.
Once again, thank you very much.
Copy link to clipboard
Copied
Hi:
The currently shared versions of inApp and iAds wont work when used together. (Because their Intializer and Finalizer method names are same which will cause error while packaging).
I will update them soon.
I have just uploaded prefixed versions of both the extensions. You can use them together in one application.
Copy link to clipboard
Copied
Saumitra,
First of all thanks for your help.
At the first, I'm trying to integrate iAd native extension to my app.
I'm using ADT Helper v0.3.0 for packing and I'm getting the following
message:
Exception in thread "main" java.lang.Error: Unable to find named traits:
com.adobe.nativeExtensions::AdBannerEvent
at adobe.abc.Domain.resolveTypeName(Domain.java:231)
at adobe.abc.Domain.resolveTypeName(Domain.java:148)
at
adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:272)
at
adobe.abc.GlobalOptimizer$InputAbc.resolveSignatureType(GlobalOptimizer.java
:647)
at
adobe.abc.GlobalOptimizer$InputAbc.resolveTypes(GlobalOptimizer.java:452)
at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:326)
at
com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:4
12)
at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
Compilation failed while executing : ADT
The problem seems to be related just with AdBannerEvent. If I comment the
lines that have references to AdBannerEvent I get no errors to pack, but the
app in my iPad do not show any ad.
I'm using the same code posted by you in
http://code.google.com/p/iad-air-ios/
What I could be doing wrong?
AdBanner.adView.startShowingAds(AdBannerPosition.TOP,false);
AdBanner.adView.addEventListener(AdBannerEvent.AD_LOADED,function(e:AdBanner
Event):void{
trace("Ad Loaded");
AdBanner.adView.visible = true;
trace("leaving: " + e.leaving);
});
AdBanner.adView.addEventListener(AdBannerEvent.AD_LOADING_FAILED,function(e:
AdBannerEvent):void{
trace("Loaded Failded: " + e.errorCode);
AdBanner.adView.visible = false;
});
AdBanner.adView.addEventListener(AdBannerEvent.USER_INTERACTION_STARTING,fun
ction(e:AdBannerEvent):void{
trace("Starting");trace(st.orientation);
});
AdBanner.adView.addEventListener(AdBannerEvent.USER_INTERACTION_FINISHED,fun
ction(e:AdBannerEvent):void{
trace("Finished");trace(st.orientation);
});
Copy link to clipboard
Copied
Hi:
I havent really used the tool you mentioned, but you need to make sure that you provide -extdir switch (it can appear at the very end of ADT command) which specifies the path to folder containing the ANE file.
are you using this switch already and still getting the error?
Copy link to clipboard
Copied
Hi Saumitra,
I did the following:
1) upgraded AIR SDK from 2.6 to 3.0
2) upgraded iAd-ane to iAdPrefixed
3) ran the adt from the command line without using ADT Helper
I don't know which of them solved the problem, but finally now it works
fine.
The next step is to integrate in-app purchases.
Thanks.
Copy link to clipboard
Copied
Great! Can you upload a sample Flash Professional source code (.FLA) with a simple iAd extensions script? I need just the script to show the AdBanner with the native extensions developed by Saumitra Bhave.
I realy need to integrate in my Flash apps!
Thank you!
Giuliano
Copy link to clipboard
Copied
HI I posted an example of NativeAlerts for IOS with callbacks, you can find it at www.liquid-photo.com/
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
Any luck with this? I've also been trying to build a native extension for ads but don't have it working yet
Copy link to clipboard
Copied
Hi Rybram:
Can you describe the specific problem you are facing so we can help?
Copy link to clipboard
Copied
Well its been a while since I played with it but last I tried I just didn't work. Debugging extensions kind of sucks. I probably should just have built it as an android app and then converted it to en extension after.
Copy link to clipboard
Copied
I have managed to compile the app with the ane and have got it installed on my ipod touch.
However I am getting an error which says loading failed and error code = 6
Can anyone help?
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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