[英]Build Mobile App (Cordova) using Polymer component with camera functionality
我正在使用Cordova制作移動應用程序。 它使用聚合物2.0組件在數據庫中創建主記錄/子記錄。
I have to add the file upload and camera feature to the same mobile application.
in index.html I am using polymer component like this :
<div style="border: 2px solid green;">
<crud-expense-mobile employee-id='1234'></crud-expense-mobile>
</div>
enter code here
This is my first mobile project. Need guidance from experts
I am trying to use polymer component : refer
https://www.webcomponents.org/element/PolymerElements/app-media/elements/app-media-image-capture
Getting error
vulcanized-needed-components.html:32222 Uncaught (in promise) Error: ImageCapture instance not ready.
at HTMLElement.takePhoto (vulcanized-needed-components.html:32222)
at HTMLElement._addExpenses (crud-expense-mobile.html:232)
at HTMLElement.handler (vulcanized-needed-components.html:2096)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.