SwikiCodeRobot @> 579 |
" Starting camera application to capture still image " | intent context | context := MainActivity current. intent := Intent action: 'android.media.action.STILL_IMAGE_CAMERA'. (intent resolveActivity: context packageManager) isNil ifTrue: [ self error: 'Intent canīt be resolved' ]. context startActivity: intent. ^#Ok