How to force permission “android.permission.CAMERA” to be added to manifest in Codename one

后端 未结 2 497
孤独总比滥情好
孤独总比滥情好 2021-01-03 07:53

I am trying to show a live preview of the rear facing camera in Codename One. I use for that the native interface (I am targetting Android first).

To allow my app t

2条回答
  •  天涯浪人
    2021-01-03 08:26

    You need to add the following build hint:

    android.xpermissions=
    

    You can also add this to the cn1lib so it is injected automatically.

提交回复
热议问题