守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 681|回复: 0

Air Native Extension for Apsalar analytics on iOS & Android

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

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

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

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

    开源英雄守望者

    发表于 2015-1-23 15:08:49 | 显示全部楼层 |阅读模式
    应用下载
    应用名称: Apsalar-ANE
    支持64位:
    当前版本: 0.2.0
    运行平台: Android IOS 
    开发语言: ActionScript 3 JAVA 其他 
    应用类别: ANE-多平台
    应用简介: Air Native Extension for Apsalar analytics
    Air Native Extension for Apsalar analytics on iOS & Android

    This is an Air native extension for Apsalar analytics on the iOS and Android platforms.

    Version

    This is version 0.2.0 of this extension. The compiled extension contains version 6.0.1 of the Apsalar Analytics library for iOS and version 4.0.2 of the Apsalar Analytics library for Android.

    Binary files

    The bin folder contains the compiled extension and the default swc, which can be used for local testing if required by your development environment (Flash Builder shouldn’t need it, but other IDEs may).

    Using the extensionStart an Apsalar session

    At its simplest, you initialize the extension with your api keys as follows

    1. Apsalar.startSession( "your api key", "your api secret" );
    复制代码
    You should only start the session once, after which you can log as many events as you wish.Start an Apsalar session with an opening url (iOS only)
    1. Apsalar.startSession( "your api key", "your api secret", "opening url" );
    复制代码
    Th eopening url is the url that directed iOS to open your app.Log a simple eventYou may then log events with Apsalar like this
    1. Apsalar.logEvent( "User did something" );
    复制代码
    Log an event with parametersYou can pass parameters through to a Apsalar event via a simple object, as follows
    1. Apsalar.logEvent( "Screen resolution", { width : Capabilities.screenResolutionX, height : Capabilities.screenResolutionY, dpi : Capabilities.screenDPI } );
    复制代码
    End an Apsalar sessionEnds the current session.
    1. Apsalar.endSession();
    复制代码
    DevelopersLicenseThis project is licensed under the BSD license




    相关链接:
    https://github.com/StickSports/Apsalar-ANE

    本帖子中包含更多资源

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

    x
    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

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

    本版积分规则

    
    关闭

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

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

    GMT+8, 2019-10-22 07:34 , Processed in 0.044637 second(s), 34 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

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