0 votes
asked in RapidClipse Programming by (120 points)

I have Vaadin and Spring boot based web project already existing and published. I need to add a barcode reader to my project that will scan instant data from the device camera. Vaadin resources seem insufficient in this regard. Can RapidClipse Web API solve this problem? How can I integrate the Web API into my project?

1 Answer

0 votes
answered by (2.2k points)

Add WEBAPI in POM.XML

<dependency> <groupId>com.rapidclipse</groupId> <artifactId>rap-server-webapi</artifactId> <version>10.02.00-RAP-GA</version> </dependency>

Use

    • final Video video = new Video(); this.add(video);
    • register listener for screenshots

    • video.addPictureConsumer(pic -> { this.add(pic.toImage("Screenshot")); });
    • execute photo

    • video.takePicture();
Welcome to Rapidclipse Q&A, where you can ask questions and receive answers from other members of the community.
Powered by Question2Answer
...