Genius 发表于 2016-12-22 12:38:34

机智云开源框架介绍

本帖最后由 Genius 于 2016-12-22 12:43 编辑

机智云物联网开源框架App工程(Eclipse工程)https://git.oschina.net/dantang/GizOpenSource_AppKit_Android
介绍:机智云开源框架(GizOpenSource_AppKit_Android) 是开源的适用于物联网的软件框架,用于无缝的支持设备到设备的互联。能帮助开发者快速构建物联网生态系统,实现设备间互联,加速智能设备的应用开发。
其包含Wi-Fi类智能硬件app通用功能的一套源码。只要是使用机智云协议的产品,开发者开发配套的app时都可以直接使用该框架的源码实现快速开发,从而缩短app的开发周期短、降低开发成本。
此为Eclipse工程。示例如图:



机智云物联网开源框架App(Android Studio工程)
https://git.oschina.net/dantang/GOpenSource_AppKit_Android_AS
介绍:机智云开源框架(GizOpenSource_AppKit_Android) 是开源的适用于物联网的软件框架,用于无缝的支持设备到设备的互联。能帮助开发者快速构建物联网生态系统,实现设备间互联,加速智能设备的应用开发。
其包含Wi-Fi类智能硬件app通用功能的一套源码。只要是使用机智云协议的产品,开发者开发配套的app时都可以直接使用该框架的源码实现快速开发,从而缩短app的开发周期短、降低开发成本。
此为Android Studio工程。


BT/BLE设备接入机智云iOS客户端示例源码https://github.com/gizwits/GizDataAccessDemo-iOS
介绍:BT/BLE设备接入机智云iOS客户端示例源码,包含蓝牙设备数据上传云端,云端下载同步数据等功能的参考实现,开发者可通过此开源程序学习物联网硬件相关的App实现方法。







BT/BLE设备接入机智云Android客户端示例源码
https://github.com/gizwits/GizDataAccessDemo-Android
介绍:BT/BLE设备接入机智云Android客户端示例源码,包含蓝牙设备数据上传云端,云端下载同步数据等功能的参考实现,开发者可通过此开源程序学习物联网硬件相关的App实现方法。


APICloud GoKit(HTML5版本的GoKit APP)
https://github.com/gizwits/gokit_demo_in_apicloud
APICloud GoKit是使用机智云针对APICloud发布的SDK而开发的HTML5版本的GoKit APP,其包含iOS版本和Android版本。与原生的iOS和Android APP不一样的是,APICloud GoKit用JS写成,大大降低了手机APP开发的门槛,并且通过APICloud,可以一次开发出两个版本。APICloud GoKit的功能与原生的APP的功能相同,包含配置入网、设备搜索、设备绑定、设备登陆、设备控制、远程控制、状态更新、本地远程切换等。所用的APICloud SDK可以在APICloud官网上下载。(搜索“Gizwits”或“机智云”)


Gokit Demo APP(ios版本)
https://git.oschina.net/dantang/GoKit_Demo_iOS
Wi-Fi设备接入机智云客户端调试工具包括 iOS Demo 和Android Demo 示例源码,包含了设备网络配置、用户注册登录、设备状态查询、设备远程控制等功能的参考实现,开发者可通过此开源程序学习物联网硬件相关的App实现方法。


智能云智能灯
https://git.oschina.net/dantang/Gizwits-SmartLights_Android
介绍:
这是一款可以帮助开发者快速使用GizWifiSDK,连接到机智云的开源物联示例APP。该APP针对的是智能家电中的灯泡类产品,此款产品已满足用户基本功能需求,
其中包括:1.用户登录;2.配置入网;3. 搜索设备列表;4.绑定或解绑设备;5.灯开关;6.色彩和色温切换;7.色彩和色温连续调节;8.亮度调节;9.修改设备别名;10.倒计时开关;11.云端定时预约,不限次数等等。





经典智能 发表于 2017-2-8 21:31:54

Android Studio版本编译时出错!

经典智能 发表于 2017-2-8 21:32:34

Information:Gradle tasks [:app:assembleDebug]
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.tencent.mm.sdk.diffdev.a.c) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.tencent.mm.sdk.diffdev.a.b) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$1) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$2) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.tencent.mm.sdk.b.c) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is *not* an inner class.
Information:BUILD SUCCESSFUL
Information:Total time: 1 mins 55.68 secs
Information:40 errors
Information:0 warnings
Information:See complete output in console

Genius 发表于 2017-2-9 10:22:50

经典智能 发表于 2017-2-8 21:32
Information:Gradle tasks [:app:assembleDebug]
Error:warning: Ignoring InnerClasses attribute for an...

这个是~~????

经典智能 发表于 2017-2-9 11:27:01

机智云物联网开源框架App(Android Studio工程)
https://git.oschina.net/dantang/GOpenSource_AppKit_Android_AS


下载以上源码Build APK时可以生成APK,但出现40 Errors。



经典智能 发表于 2017-2-9 14:50:59

Genius 发表于 2017-2-9 10:22
这个是~~????

添加了app_id:机智云 app id及app_secret:机智云 app secret后正常编译生成APK了,不再出现错误提示!感谢了!!
页: [1]
查看完整版本: 机智云开源框架介绍