Hi Shai, thanks for answer but I'm confused little bit now. I tried it on another device with Android 6.0.1 (Xiaomi Redmi A4) and the behavior is the same. I start the photo capturing, I get the question to allow photo capturing, I click yes and then I get above mentioned security exception. I found stack overflow discussion (mentioned in my previos post) about Android M Camera Intent + permission bug where you write about to add workaround to CN1 for that (on August 11th 2017). Is there the workaround or what should I do to make the camera working?
Dňa nedeľa, 29. októbra 2017 6:07:53 UTC+1 Shai Almog napísal(-a): > > Hi, > this isn't a recent regression as this was never the issue. Camera > permission shouldn't be requested as we invoke an intent and that's a > request that should be made by the intent provider not by us. I think this > might be related to an app you might have installed recently on the device > that took over the camera intent. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/094d8ed4-a2a7-4cf9-88df-8972419be9ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
