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

test[jx8Intents] Call a car


SwikiCodeRobot @> 584

"Reserving a taxi."
| intent context |
context := MainActivity current.
intent := Intent action: 'com.google.android.gms.actions.RESERVE_TAXI_RESERVATION'.
(intent resolveActivity: context packageManager) isNil ifTrue: [
	self error: 'Intent canīt be resolved'
].
context startActivity: intent.
^#Ok