4

I am developing an app for Firefox OS which is supposed to load the camera when an element is touched.

I had a search on the internet but I could not find a way to do such thing unless I was to start a "web activity" and let the user choose an application to pick.

I would like to force the camera application to start and not let the user choose the app to launch. Is there a way? (I really hope so!)

Thank you for the answer in advance!

Lorenzo

4

3 に答える 3

0

App permissionsを説明している mdn ページに見られるように、カメラ API はサードパーティの開発者はまだ利用できませんが、将来的には利用できるようになる予定です。

注: カメラが認定アプリに限定されている理由は、アプリが実行されるサンドボックスがカメラ ハードウェアへのアクセスを妨げているためです。私たちの目標は、できるだけ早くサードパーティのアプリで利用できるようにすることですが、最初のリリースではそれを行う時間がありません.

于 2013-10-06T00:19:07.440 に答える