Camera component – use in sketchwere

I have done a camera project and explain with pictures.

first i created a button and set camera icon.

than i created camera component named cam.

After that in on button click i set block take picture.

Than go to logic area and in component section have two events.

1. onPicture taken in this event i set block toast block join saved on with file path. this block take pictures and show file path were saved pictures.

2. onPicture taken cancel event i set toast with text cancelled. this block cancel the capture and show the cancel massage.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.