App Crashes while using Camera on Poynt Terminal

When we are trying to Capture an image through poynt terminal using Camera , the app is crashing.

Logcat:

FATAL EXCEPTION: main
Process: com.xxx.XXXXX, PID: 21965
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.media.action.IMAGE_CAPTURE }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1632)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1424)
at android.app.Activity.startActivityForResult(Activity.java:3424)
at android.app.Activity.startActivityForResult(Activity.java:3385)

this is a basic image capture code.

There is not photo app on the device, so Android can’t find an activity that can handle your intent. You will need to use Android Camera API to do that.