|
|
|
|
|
by Regenaxer
3386 days ago
|
|
Note that in PilBox you can also directly call the standard Android API, and use
the REPL of course. Taking a picture, for example, needs only (android~takePicture (tmp "img")
'((Intent)
(... do something with the image) ) )
The function 'takePicture' is in "lib/android.l": (de takePicture (Dst Fun)
(startActivityForResult Fun
"android.media.action.IMAGE_CAPTURE"
"output" (fileUri Dst) ) )
|
|