破晓 发表于 2015-1-22 11:17:12

Air Native Extension for Burstly SkyRocket (iOS + Android)

Air Native Extension for Burstly SkyRocket (iOS + Android)This is an Air native extension for Burstly SkyRocket SDK on iOS and Android. It has been developed byFreshPlanet and is used in the game SongPop.SkyRocket SDKThis ANE includes the following versions of the SkyRocket SDK:
[*]iOS: 2.5
[*]Android: 1.29
It only supports displaying a bottom banner and/or a fullscreen interstitial.InstallationThe ANE binary (AirBurstly.ane) is located in the bin folder. You should add it to your application project's Build Path and make sure to package it with your app (more information here).Usage// Initialize Burstly
Burstly.getInstance().init("MY_BURSTLY_APP_ID", "MY_BURSTLY_BANNER_ZONE_ID", "MY_BURSTLY_INTERSTITIAL_ZONE_ID");

// Show the banner
Burstly.getInstance().showBanner();

// Hide the banner
Burstly.getInstance().hideBanner();

// Check if an interstitial is pre-cached
Burstly.getInstance().isInterstitialPreCached();

// Cache the interstitial
Burstly.getInstance().cacheInterstitial();

// Show the interstitial
Burstly.getInstance().showInterstitial();Build scriptShould you need to edit the extension source code and/or recompile it, you will find an ant build script (build.xml) in the build folder:cd /path/to/the/ane/build
mv example.build.config build.config
#edit the build.config file to provide your machine-specific paths
antAuthorsThis ANE has been written by Alexis Taugeron. It belongs to FreshPlanet Inc. and is distributed under theApache Licence, version 2.0.






相关链接:
https://github.com/freshplanet/ANE-Burstly

破晓 发表于 2015-2-20 17:18:34

相关链接:

https://github.com/calamitykdawg/BurstlyANE
页: [1]
查看完整版本: Air Native Extension for Burstly SkyRocket (iOS + Android)