App design, camera preview
2 views (last 30 days)
I am trying to build an app that:
- turns on the camera
- shows what the camera is seeing (function preview photo - preview button)
- capture the screen at the moment the user wants (like froze the preview - indentify image button)
It pretty much works like a normal camera as the ones we have in our cells phones.
I want the preview image/video to appear in the window where the picture taken will be but it keeps opening a new window everytime. Also, I would like to clean the screen when the user hits «refresh button». I tried to put «delete(app)» but it didn't work.
Any help is welcome,
this is what the user sees and the code I wrote