Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Adobe AIR 3.0 为 Android 编写应用程序。我需要在这个项目中集成 Flurry 分析。在官方网站http://www.flurry.com/ 我下载了 Flurry SDK for Android。它是 jar 文件。如何将它集成到我的动作脚本 3 项目中?我正在使用 Flash builder 4.6。谢谢。
开发原生扩展。
http://www.adobe.com/devnet/air/articles/developing-native-extensions-air.html
据我所知,你不能。无法在您的 Air/Flex 应用程序中包含原生开发 SDK。
问题是您的 AIR 应用程序无法直接访问本机 SDK 功能;只有 Adobe 浮出水面的功能。由于 Flurry 的 SDK 直接与本机 Java 实现交互,因此 Adobe 必须编写代码来让这些事件、触发器、方法和类在 AIR 运行时内可访问。