科尔多瓦相机可以打开内置的科尔多瓦应用程序吗 [英] Can Cordova Camera open in-side Cordova Application

查看:93
本文介绍了科尔多瓦相机可以打开内置的科尔多瓦应用程序吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在模板上的div中打开camara,其中应用程序不转到背景,而camara打开,捕获后,camara应用程序转到背景,而cordova应用程序将转到前景...而不是camara在div中打开放在html模板上.

谢谢..

解决方案

是的,通过此适用于iOS和Android的插件,可以在div容器中或body中的其他任何位置显示摄像机视图./p>

Cordova相机预览

功能:

  • 从HTML代码开始摄像头预览.
  • 拖动预览框.
  • 设置相机色彩效果(Android和iOS).
  • 将预览框发送到HTML内容的后面.
  • 设置相机预览框的自定义位置.
  • 设置预览框的自定义大小.
  • 保持HTML交互性.

安装:

cordova plugin add https://github.com/mbppower/CordovaCameraPreview.git

其余(方法)等可以在GitHub的文档中找到.

i want to open camara in div on template, where app not go to background and camara open and after capture, camara app go to background and cordova app will go to foreground... instead of that the camara is open in div which is placed on html template..

Thank you..

解决方案

Yes, through this Plugin for iOS and Android it is possible to show a camera view in a div container or everywhere else in your body.

Cordova Camera Preview

Features:

  • Start a camera preview from HTML code.
  • Drag the preview box.
  • Set camera color effect (Android and iOS).
  • Send the preview box to back of the HTML content.
  • Set a custom position for the camera preview box.
  • Set a custom size for the preview box.
  • Maintain HTML interactivity.

Installation:

cordova plugin add https://github.com/mbppower/CordovaCameraPreview.git

And the rest (methods) etc. can be found in the documentation on GitHub.

这篇关于科尔多瓦相机可以打开内置的科尔多瓦应用程序吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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