守望者--AIR技术交流

标题: 提供访问设备的唯一的ID。 (iOS + Android) [打印本页]

作者: 破晓    时间: 2015-1-22 10:03
标题: 提供访问设备的唯一的ID。 (iOS + Android)
本帖最后由 破晓 于 2015-4-8 17:26 编辑

Air Native Extension to access a device unique id (iOS + Android)

This is an Air native extension that gives you access to a device unique id and an advertiser unique id. It has been developed by FreshPlanet.

Build script

Should 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:

  1. cd /path/to/the/ane/build
  2. #edit the build.properties file to provide your machine-specific paths
  3. ant
复制代码
Notes:

Reference


Authors

This ANE has been written by Arnaud Bernard. It belongs to FreshPlanet Inc. and is distributed under theApache Licence, version 2.0.

Join the FreshPlanet team - GAME DEVELOPMENT in NYC

We are expanding our mobile engineering teams.FreshPlanet is a NYC based mobile game development firm and we are looking for senior engineers to lead the development initiatives for one or more of our games/apps. We work in small teams (6-9) who have total product control. These teams consist of mobile engineers, UI/UX designers and product experts.Please contact Tom Cassidy (tcassidy@freshplanet.com) or apply at http://freshplanet.com/jobs/



[attach]561[/attach]



相关链接:

https://github.com/freshplanet/ANE-DeviceId

下载


作者: 破晓    时间: 2015-1-24 14:26
IOS    OpenUDID  ANE


[attach]628[/attach]


本资源来自:ANE开源群 307700284

作者: 破晓    时间: 2015-4-8 17:22
Enables Adobe AIR to access Android's unique device ID, ANDROID_ID. That's it.

Android ID ANE

Enables Adobe AIR 3.1+ for Android to access ANDROID_ID. That's it.

Adds about 2KB to your app. Released under BSD license.

app.xml

  1. <extensions>
  2.     <extensionID>com.mesmotronic.ane.androidid</extensionID>
  3. </extensions>
复制代码
ActionScript
  1. import com.mesmotronic.ane.AndroidID;

  2. trace(AndroidID.ANDROID_ID);
复制代码



[attach]1052[/attach]


相关链接:

https://github.com/mesmotronic/air-android-id-ane





欢迎光临 守望者--AIR技术交流 (http://www.airmyth.com/)