有没有办法使用智能手机的摄像头PhoneJS? [英] Is there way to use smartphone camera in PhoneJS?

查看:173
本文介绍了有没有办法使用智能手机的摄像头PhoneJS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立测试应用程序与PhoneJS为Android。但我不能找到一种方法,如何使用相机。
是否有可能呢?或者更好切换到PhoneGap的?

I am trying to build test app with PhoneJS for Android. But I can not find a way how to use a camera. Is it possible at all? Or better switch to PhoneGap?

推荐答案

欢迎PhoneJS !文章:

使用Apache的科尔多瓦(或Adobe的PhoneGap),你必须编译这些应用到实际的移动应用程序可以访问本地平台(摄像头,重力感应,GPS等)的能力。

With Apache Cordova (or Adobe PhoneGap) you have the capability to compile those apps to real mobile apps that can access the native platform (the camera, accelerometer, GPS, etc)

PhoneJS不具有其自己的接口设备的硬件,但是鼓励开发者使用科尔多瓦的API。所以答案是:使用PhoneGap的访问摄像机

PhoneJS does not have its own interface to the device hardware, but encourages the developer to use Cordova API. So the answer is: use PhoneGap to access the Camera.

这篇关于有没有办法使用智能手机的摄像头PhoneJS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆