Skip to content

inexplicable/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
dConnectDeviceChromeCast Device plug-in Chromecast.
dConnectDeviceHue Device plug-in Hue.
dConnectDeviceIRKit Device plug-in IRKit.
dConnectDevicePebble Device plug-in Pebble.
dConnectDeviceSonyCamera Device plug-ins SonyCamera such as QX10.
dConnectDeviceSonySW SonySmartWatch device plug-ins.
※SmartWatch3 is not supported.
dConnectDeviceSphero Device plug-in Sphero.
dConnectDeviceWear Device plug-in AndroidWear.
dConnectDeviceHost Device plug-in for Android.
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/1.1.1.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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%