DeviceConnect / DeviceConnect-JS

Javascript code of demonstration, and SDK
MIT License
13 stars 9 forks source link

Cordova SDK #67

Open drasko opened 8 years ago

drasko commented 8 years ago

Hi, this project looks interesting indeed!

Is there any possibility to use Cordova (https://cordova.apache.org/) and build at the same time apps for both Android and iOS and use DeviceConnect JS library in Cordova to do device discovery, connection messaging, etc...?

Onuzimoyr commented 8 years ago

Thank you for interests!

use Cordova and build at the same time apps for both Android and iOS

It is able to collaborate Cordova SDK and Device WebAPI to make apps for Android, also iOS. Since there are some changes of security structure or architecture from iOS9, please be much carefully of it if you make an app for iOS.

use DeviceConnect JS library in Cordova to do device discovery, connection messaging, etc

You use the library to connect DeviceConnect Manager for device discovery or other features. Also you can see below web link to understand about Device WebAPI more clearly.

http://en.device-webapi.org/

Best Regards,

drasko commented 8 years ago

@Onuzimoyr thanks. Are there some examples with Codova that I can look at?

Onuzimoyr commented 8 years ago

This moment there is no sample with Cordova here. We are afraid but would appreciate you to check below out first, DeviceConnect-JS Library : https://github.com/DeviceConnect/DeviceConnect-JS/tree/master/dConnectJavascriptApp/js/sdk Currently Supported Profiles : https://github.com/DeviceConnect/DeviceConnect-JS/tree/master/dConnectJavascriptApp/js/sdk

We hope those codes help you to know how to connect to DeviceConnect Manager, send request as RESTful.