Skip to content

saysotheara/DeviceConnect-Android

 
 

Repository files navigation

DeviceConnect-Android

About DeviceConnect WebAPI

"DeviceConnect WebAPI" is WebAPI which operates as a virtual server on a smart phone. It can use easily various wearable devices and an IoT device by unific description from a web browser or an application.

About DeviceConnect Android

Device Connect WebAPI in WebAPI which operates as a virtual server on the smartphone, it can be easy to use in a uniform description of various wearable devices and IoT devices from a Web browser and apps. Device Connect Android will be the platform of DeviceConnect of Android version.

In this guide I will continue to discuss the following.

dConnectDevicePlugin

Project Name Content
dConnectDeviceAllJoyn Device Plug-in for AllJoyn.
dConnectDeviceChromeCast Device Plug-in for ChromeCast.
dConnectDeviceFPLUG Device Plug-in for F-PLUG.
dConnectDeviceHeartRate Device Plug-in for HeartRate such as Mio Alpha.
dConnectDeviceHost Device Plug-in for Android.
dConnectDeviceHue Device Plug-in for Hue.
dConnectDeviceHVC Device Plug-in for HVC.
dConnectDeviceIRKit Device Plug-in for IRKit.
dConnectDeviceKadecot Device Plug-in for Kadecot.
dConnectDevicePebble Device Plug-in for Pebble.
dConnectDeviceSonyCamera Device Plug-in for SonyCamera such as QX10.
dConnectDeviceSonySW Device Plug-in for SonySmartWatch
※SmartWatch3 is not supported.
dConnectDeviceSphero Device Plug-in for Sphero.
dConnectDeviceTheta Device Plug-in for THETA.
dConnectDeviceWear Device Plug-in for AndroidWear.
dConnectDeviceTest Device Plug-in for test of DeviceConnect.
dConnectDevicePluginSDK SDK for creating DevicePlugin. dConnectSDKForAndroid necessary.

dConnectManager

Project Name Content
dConnectManager Platform body of DeviceConnect.
dConnectManagerTest Test of DeviceConnectManager.
dConnectServer Server interface library of DeviceConnect.
dConnectServerNanoHttpd Server of the body of the DeviceConnect.

dConnectSDK

Project Name Content
dConnectApp DeviceConnect operation check for app.
dConnectSDKForAndroid SDK of DeviceConnect. DevicePlugin development and SDK to be used for application development.

People who want to develop the DeviceConnectManager and device Plug-ins, please build in accordance with this build instructions.

 In addition, you can get the apk from [here] (https://github.com/DeviceConnect/DeviceConnect-Docs/tree/master/Bin/Android).  With regard to the installation method, you can run from the command line of the command as follows.
 Here, I will install only the Device Manager body and HOST device plug-ins.  Because there are other devices plug-in, please install it if necessary.

 adb install dConnectManager.apk
 adb install dConnectDeviceHost.apk

With regard to the adb command, please make sure the Android SDK.

Please tap the DeviceConnectManager icon.


By making it ON the field of DeviceConnectManager, you can start.

The address of the Chrome browser, "http://localhost:4035/gotapi/availability" Please enter. If Kore response is returned in the following, such as JSON, I can confirm that DeviceConnect is running.

Request

GET http://localhost:4035/gotapi/availability

Response

{
    "product":"Device Connect Manager",
    "version":"x.x",
    "result":0,
}

The API of the non-availability, basically you will not be able to check easily is the address of the chrome browser in order to access token is required. Regard specific use of Device Connect, please refer to us the Wiki of [here] (https://github.com/DeviceConnect/DeviceConnect-Android/wiki/Application-Manual).

Application and using the DeviceConnect, regard the development of the application, please refer to the following pages.


If you want to develop a device plug-ins using the Device Connect Manager, please see this Application Development Manual.

About

Device Connect Plug-In for Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%