[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[jx8Intents] Start video capture


SwikiCodeRobot @> 580

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