Capture A Screenshot from A Clover Station Sandbox Dev Kit
Capturing a screenshot from a Clover Station POS device in production is not all that hard, there are plenty of apps on the Clover marketplace that let you do that. However, if you are trying to submit your app to the Clover app marketplace, then you need to submit screenshots with it, but how to go about doing this when the Clover dev kit doesn’t have access to the Clover app marketplace? We build a lot of Clover apps and this is a common problem we see other developers run into and wanted to share a super quick solution to it.
The answer to this conundrum is to use Android Studio (running on either Mac or Windows) to connect to the Clover Station dev kit, and use it’s inbuilt screen capture to grab your screenshot. Here are the steps for doing this:
- Mini USB cable
- Android Studio
- Clover dev kit (these steps work on any type of dev kit)
1.) Flip over your Clover Station dev kit. Notice there is a white ring surrounding the connection between the stand and the screen. Locate the notch on the side, highlighted in this photo in yellow.
2.) Use a paperclip or other flat edge to pop open this ring at this notch location and lift it up.
3.) Lift up the white rectangular box which exposes a USB-mini port, plug your cable into it. On the other end, plug the USB-A connector into your PC.
4.) Turn over the Clover Station, unlock the screen and you will be asked whether you would like to grand permission to your PC to connect, click the “Approve” button.
5.) On your PC, now open Android Studio. You can create a blank Android Studio project for this step, or open the source code of your Clover app, it doesn’t matter and is not relevant. Once open, go to View-> Tool Windows (or press Alt-6) to open up the Logcat window.
6.) On the left hand side of the Logcat window, find the button that looks like a camera and which has the tool tip “Screen Capture”. Press it, and voila! You should see a screen capture from your Clover Station appear on your desktop. From here you can save it to your local machine.