Impement remote connect plugin.

This commit is contained in:
Simo Kinnunen
2014-06-24 11:41:26 +09:00
parent 692582ce3d
commit db1699c666
6 changed files with 147 additions and 2 deletions

View File

@@ -189,6 +189,14 @@ module.exports = function ControlServiceFactory(
return sendTwoWay('logcat.stop')
}
this.startRemoteConnect = function() {
return sendTwoWay('connect.start')
}
this.stopRemoteConnect = function() {
return sendTwoWay('connect.stop')
}
this.openBrowser = function(url, browser) {
return sendTwoWay('browser.open', {
url: url