Hello,
I made an app wich take picure then send it to sharepoint, all it's ok but my user whant to use the flash light of the device.
I used camera control to do this but it's impossible, I need to use "Add a picture" controle thanks to the native camera of the device will be usable.
But now, I don't know how to send this picture to my sharepoint. This is what I made with the camera control and a button :
Set(Thepic;JSON(CameraBSO.Stream;JSONFormat.IncludeBinaryData));;
Set(Base64Only;Mid(Thepic;Find(",";Thepic)+1;Len(Thepic)-Find(",";Thepic)-1));;
GestionPhotoBSO2.Run(Text( Now(); "yyyy/mm/dd_hh:mm:ss" );Base64Only;NumCDVBGA.Text)
With CameraBSO = camera control
GestionPhotoBSO2 = power automate flux :

I tried to change CameraBSO.Stream (=camera control) by CameraBSO.Media (= add picture control) but it's don't works.
Someone have an idea ?
Thanks,
Jérôme