Finishing Remote Debug UI.

This commit is contained in:
Gunther Brunner
2014-06-24 11:58:59 +09:00
parent db1699c666
commit 154e331a93
2 changed files with 7 additions and 5 deletions

View File

@@ -1,7 +1,9 @@
module.exports = function RemoteDebugCtrl($scope) {
$scope.remoteDebugCommand = function () {
var server = '127.0.0.1:5555'
return 'adb connect ' + server
}
$scope.control.startRemoteConnect().then(function (result) {
var url = result.lastData
$scope.$apply(function () {
$scope.debugCommand = 'adb connect ' + url
})
})
}