守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 1562|回复: 1
打印 上一主题 下一主题

Heyzap平台ANE(iOS/Android)

[复制链接]
  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52903
    钢镚
    1422

    开源英雄守望者

    跳转到指定楼层
    楼主
    发表于 2015-1-29 15:21:40 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    应用下载
    应用名称: HeyzapANE
    支持64位:
    当前版本: 未知
    运行平台: Android IOS 
    开发语言: ActionScript 3 JAVA 其他 
    应用类别: ANE-多平台
    应用简介: Adobe Native Extension (ANE) for Heyzap with support for iOS/Android
    HeyzapANE

    Adobe Native Extension (ANE) for Heyzap with support for iOS/Android

    Software installation (Windows):To compile ANE:
    • Edit ane\build.properties and update paths (build.properties.mac and build.properties.win are example files)
    • In the ane folder run 'ant'
    • If you want to recompile the iOS library (needs MacOS), run:
      ant ios_compile

    To compile the Demo:
    • Open demo\demo.as3proj in FlashDevelop
    • Press F5 to run the application
    The demo was created by:
    • In FlashDevelop: Project / New Project ... / AIR Mobile AS3 App
    • Follow instructions in AIR_Android/iOS_readme.txt
    • In SetupApplication.bat set the certificates:
      set IOS_DIST_CERT_FILE=cert\iPhone.p12 set IOS_DEV_CERT_FILE=cert\iPhone.p12 set IOS_DEV_CERT_PASS=fd set IOS_PROVISION=cert\iPhone.mobileprovision
    • In application.xml change / add the contents of to:


    (Setting minSdkVersion will give an error if you don't have that SDK version downloaded with the Android SDK manager)

    • In application.xml add to and change the name of the scheme 'mycoolscheme' to something application specific:
      CFBundleURLTypes CFBundleTypeRole Editor CFBundleURLIconFile Icon CFBundleURLName mycoolscheme CFBundleURLSchemes mycoolscheme
    • In application.xml add before :
      com.heyzap.extension
    • In Packager.bat change:
      call adt -package -target %TYPE%%TARGET% %OPTIONS% %SIGNING_OPTIONS% "%OUTPUT%" "%APP_XML%" %FILE_OR_DIR%
      to:
      call adt -package -target %TYPE%%TARGET% %OPTIONS% %SIGNING_OPTIONS% "%OUTPUT%" "%APP_XML%" %FILE_OR_DIR% -extdir ext
    • In Run.bat replace:
      adl -screensize %SCREEN_SIZE% "%APP_XML%" "%APP_DIR%"
      with:
      rmdir /q /s ext_unpacked mkdir ext_unpacked\HeyzapExtension.ane unzip -q ext\HeyzapExtension.ane -d ext_unpacked\HeyzapExtension.ane adl -screensize %SCREEN_SIZE% "%APP_XML%" "%APP_DIR%" -extdir ext_unpacked
    • In SetupSDK.bat add the variable JAVA_SDK
    • Add folder 'ext' and copy HeyzapExtension.ane to it
      Right HeyzapExtension.ane and select 'Add To Library' Right HeyzapExtension.ane and select 'Options...' and select 'External Library (not included)'
    • Copy the Heyzap.framework folder to the lib folder
    • Edited demo\src\com\heyzap\demo\Main.as, main code is:
      var h : Heyzap = new Heyzap(); h.load(, , );
    • Do a checkin using:
      h.checkin("Checking text goes here!");
    • Make sure you don't call NativeApplication.nativeApplication.exit() in your deactivation handler (activating Heyzap deactivates your app)
    • Make sure you're running Java 6 and not Java 7 (this will cause signing errors!)




      相关链接:


      https://github.com/jrouwe/HeyzapANE


    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
    收藏收藏 分享分享 支持支持 反对反对 微信
    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52903
    钢镚
    1422

    开源英雄守望者

    沙发
     楼主| 发表于 2015-2-20 20:29:37 | 只看该作者
    守望者AIR技术交流社区(www.airmyth.com)
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    
    关闭

    站长推荐上一条 /4 下一条

    QQ|手机版|Archiver|网站地图|小黑屋|守望者 ( 京ICP备14061876号

    GMT+8, 2026-1-24 02:08 , Processed in 0.044212 second(s), 36 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

    快速回复 返回顶部 返回列表