守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 2054|回复: 1

VK社交平台ANE(IOS+Android)

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

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

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

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

    开源英雄守望者

    发表于 2015-3-2 17:34:38 | 显示全部楼层 |阅读模式
    应用下载
    应用名称: VK-ANE
    支持64位: 支持
    当前版本: 0.2.0
    运行平台: Android IOS 
    开发语言: ActionScript 3 JAVA 其他 
    应用类别: ANE-多平台
    应用简介: PRO Native Extension for Adobe AIR which connects VK social network to your app.
    VK ANE v0.2.0

    PRO Native Extension for Adobe AIR which enables VK social network capabilities in your apps.

    Status

    This demo is fully functional example. You can test ANE functions without any limitations. If you want it to be running in your application you can purchase any number of licenses each for up to 3 applications and without any limitations in time! License server can be found here http://kavolorn.ru/pro-native-extensions.

    ANE supports Android-ARM, Android-x86, iPhone-ARM and iPhone-x86 including x64 bit platforms introduced in Adobe AIR SDK 16.

    Extension is build with 16.0.0.259 Adobe AIR SDK, iOS 8.1 SDK, Android SDK Tools Revision 23.0.5 and Build Tools: 21.1.0.

    Repository contains module file for IntelliJ IDEA.

    How to run

    The most important thing to keep in mind is that this demo setup is linked with package id 'ru.kavolorn.ane.VK.Demo'. You can only change this id in your own license key (where you can have up to 3 ids).

    So let's configure this demo for your own vk application.

    Application registration process

    Goto my applications page and create your application. After the registration in the options page you can see your vk application id. Current demo is using 4620596 and you will have your own.

    On the options page fill 3 fields app bundle id for iOS, app id for iOS and android package name with value 'ru.kavolorn.ane.VK.Demo'. When you will have your own key you can link your vk app with your own application id.

    Also you should fill certificate fingerprint for Android. We will get this fingerprint directly from our extension later.

    Configuring application descriptor

    Now let's apply our vk application id in application descriptor file VK_Demo-app.xml. You should change 4620596 number with your own number in this lines for iOS setup:

    1. <key>CFBundleURLTypes</key>
    2. <array>
    3.     <dict>
    4.          <key>CFBundleURLSchemes</key>
    5.         <array>
    6.             <string>vk4620596</string>
    7.         </array>
    8.     </dict>
    9. </array>
    复制代码
    Add this lines if you modifying your own application descriptor.Make sure that you have registered activities in your android manifest file:
    1. <application android:enabled="true" android:allowClearUserData="true">
    2.     <activity android:name="com.vk.sdk.VKOpenAuthActivity" />
    3.     <activity android:name="ru.kavolorn.ane.activities.VKOpenAuthActivity" />
    4. </application>
    复制代码
    ActionScript sideYou can check how I use native extension in HomeScreenView.as file. It is the main file in our project.For Android setup you can get you certificate fingerprint by calling this method:
    1. trace(VK.getInstance().getCertificateFingerprint());
    复制代码
    After that you are able to put value in your vk application options page.RequirementsiOS 7.0+, Android 9+Version history0.2.0
    • Time limitation for license has been removed.
    0.1.1
    • Initialization bug has been fixed.
    0.1.0
    • Initial release.







    相关链接:


    https://github.com/kavolorn/VK-ANE


    本帖子中包含更多资源

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

    x
    守望者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
    金币
    51842
    钢镚
    1422

    开源英雄守望者

     楼主| 发表于 2015-6-11 09:46:17 | 显示全部楼层
    最新版请到此处下载:
    https://github.com/kavolorn/VK-ANE
    Requirements

    iOS 7.0+, Android 10+


    Version history
    1.1.0
    • Improved compatibility with 3rd party extensions on iOS.
    1.0.1
    • Fixed bug that causes offline app crash.
    1.0.0
    • Improved authorization and execution processes.
    • Added waking up and logout functionality.
    • Added getSdkVersion, getApiVersion and getUserToken methods.
    • Added debug information output control.
    0.2.1
    • Minor bugfixes.
    0.2.0
    • Removed time limitation for license.
    0.1.1
    • Fixed initialization bug.
    0.1.0
    • Initial release.

    守望者AIR技术交流社区(www.airmyth.com)
    回复 支持 反对

    使用道具 举报

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

    本版积分规则

    
    关闭

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

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

    GMT+8, 2020-6-6 01:56 , Processed in 0.053423 second(s), 37 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

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