ngCordova
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://ngcordova.com/
- 软件文档: http://ngcordova.com/docs/
软件介绍
ngCordova 包含一组 AngularJS 的表达式,基于 Cordova API 构建,用于简化构建、测试和发布 Cordova 应用。
示例代码:
使用摄像头:
module.controller('PictureCtrl', function($scope, $cordovaCamera) {
$scope.takePicture = function() {
$cordovaCamera.getPicture({
// See all the possible Camera options from the Camera docs [1]:
/// https://github.com/apache/cordova-plugin-camera/blob/master/doc/index.md#cameraoptions
}).then(function(imageData) {
// Success! Image data is here
}, function(err) {
// An error occured. Show a message to the user
});
}
});
条形码扫描:
module.controller('MyCtrl', function($scope, $cordovaBarcodeScanner) {
$cordovaBarcodeScanner.scan().then(function(result) {
// Scanner result }, function(err) {
});
精通Git(第2版)
Scott Chacon、Ben Straub / 门佳、刘梓懿 / 人民邮电出版社 / 2017-9 / 89.00元
Git 仅用了几年时间就一跃成为了几乎一统商业及开源领域的版本控制系统。本书全面介绍Git 进行版本管理的基础和进阶知识。全书共10 章,内容由浅入深,展现了普通程序员和项目经理如何有效利用Git提高工作效率,掌握分支概念,灵活地将Git 用于服务器和分布式工作流,如何将开发项目迁移到Git,以及如何高效利用GitHub。一起来看看 《精通Git(第2版)》 这本书的介绍吧!
