victordiaz / PHONK

PHONK is a coding playground for new and old Android devices
https://phonk.app
GNU General Public License v3.0
461 stars 25 forks source link

camera.takePicture #70

Closed 42loop closed 4 years ago

42loop commented 4 years ago

phonk 1.2.8: when running the camera example, it shows the image, but when trying to take a picture:

Can't find method io.phonk.runner.apprunner.api.media.PCamera.takePicture(string,function). (Camera#16)

while the flash function works

if I would understand how it all works, i'd like to contribute - i see the declaration in the java files but still phonk can't find the method ???

victordiaz commented 4 years ago

Hi @42loop

Feel free to join this Discord channel https://discord.gg/Rt2mkWp so I can explain how things work and maybe document everything along the way :)

victordiaz commented 4 years ago

Hi @42loop The version 1.2.9 should has an updated example + some fixes so the camera should work now

victordiaz commented 4 years ago

Closing as it was already solved