Taking panorama image using the Cordova plugin?

假如想象 提交于 2019-12-07 12:28:56

问题


Is possible to take panorama image using the some cordova plugin (in X and Y axiss) ?

Thanks for any advice.


回答1:


The camera plugin starts the device's camera app, so I guess that on a phone with a camera app that does panorama you can take panorama from a cordova app (the user would have to select the function manually).

Otherwise you would have to either

  • build a plugin in native code to start a different app that does panorama or
  • build a plugin with it's own camera view and you would have to code yourself the panorama function or
  • try to use the HTML5 api that allow access to the camera to do the panorama


来源:https://stackoverflow.com/questions/30391816/taking-panorama-image-using-the-cordova-plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!