Default Camera to Front Fracing Camera

Jonathan_S
Participant V

Have a Tablet Setup in the front office, and contractors can sign in etc, but they sometimes need key-cards if they need to get into the plant. (all Doors are locked until Scanned with RFID.

We want to log these Key Cards. Way to many get lost from contractors etc.

Problem is, when they select the scan icon to scan the QR codes we printed onto each key-card, the camera is looking the wrong way. How would I default this to be on the front? This tablet is permanent so any ideas, 3rd party apps, etc to make this happen by default will work as well,

Any Feedback would be appreciated.

1 22 1,993
22 REPLIES 22

Jonathan_S
Participant V

Bump

โ€œBumpingโ€ a post only 17 hours old is inappropriate.

Your correct ;). haha. Iโ€™m one of thoooose guys

Sorry.

Do you forgive me?

Bump. Any Suggestions? Anyone?

Hi @Jonathan_S. You cannot change the App used for Barcode scanning. Appsheet is using the Scandit App and implemented it into the AppSheet App.
They perhaps could send you a special APK for your scenario. @Gil would be the right person for that.

@Jonathan_S as @Fabian said that Scandit is used as the App and according to my Googling it should be possible as an option for the Appsheet Team to use and build it in.

Select Camera Direction

The Scandit Barcode Scanner SDK supports both front and back-facing cameras. The camera direction can be specified when instantiating the BarcodePicker or while the picker is running.

Set camera facing direction when instantiating the picker:

This snippet shows how to set the camera facing preference when instantiating the picker.

ScanSettings settings = ScanSettings.create();

// configure the settings by enabling the required symbologies etcโ€ฆ

โ€ฆ

// set camera facing preference to either ScanSettings.CAMERA_FACING_BACK, or

// ScanSettings.CAMERA_FACING_FRONT.

settings.setCameraFacingPreference(ScanSettings.CAMERA_FACING_BACK);

BarcodePicker picker = new BarcodePicker(this, settings);

Set camera facing direction while the picker is running

This snippet shows how to switch the camera facing direction while the picker is running.

ScanSettings settings = ScanSettings.create();

// configure the settings by enabling the required symbologies etcโ€ฆ

โ€ฆ

// set camera facing preference to either ScanSettings.CAMERA_FACING_BACK, or

// ScanSettings.CAMERA_FACING_FRONT.

settings.setCameraFacingPreference(ScanSettings.CAMERA_FACING_FRONT);

picker.applyScanSettings(settings);

Hi @Gil please have a look at @Henry_Scott 's post.

@Gil any feedback if the ScandIT API option to select the Camera (Front or Back) will be looked at by Appsheet?

@Henry_Scott The option to select the camera direction already exists (the button to the top right). Are you asking about the default direction?

Yes @Gil the Default so that one can use it as a Kiosk on a Tablet

AppSheet has no option to choose which of the deviceโ€™s camera to use.

We know that @Steve , hence this discussion with @Gil . The Scandit Barcode Scanner SDK supply an option at point of instantiating the Picker to set Front or Back Camera. So maybe as part of a โ€œSetting of Optionsโ€ page in Appsheet we as end users can tick a box of which Camera option we want to use and then Appsheet can use that to set the default in the Scandit Barcode Scanner through the SDK?

Thanks for the clarification @Henry_Scott,
Iโ€™ve updated our scanner to remember the userโ€™s preferences between scans. This means the first time you open the scanner it will still default to the back camera, but once you switch to the front camera, the scanner will start with that camera in future scans (including after app restarts).
Will this solve the problem for you?

This change will be included in version 14.6.2 (Android), which will be available in the Playstore in the coming days.
Weโ€™ll add this change to the iOS app at a later time.

Wow excellent @Gil that will be awesome and solve a Kiosk Scanning Use Case. It is worth an Announcment in the Communityโ€‹:facepunch:t2:

It will be mentioned in todayโ€™s or tomorrowโ€™s release notes.

@Gil When will this feature become available for iOS?

Hi @Shenzou,
We are currently working on new iOS app. This feature will be included with the new app.
If youโ€™d like to use a beta version of the app, see this post.

Good to hear youโ€™re working on it
Do you think the new version will still be published this year?

FYG

@Gil

I believe so.

Top Labels in this Space