]> piware.de Git - android-PittiHelloWorld.git/commit
Add button to take a photo master
authorMartin Pitt <martin@piware.de>
Fri, 29 May 2020 13:55:48 +0000 (15:55 +0200)
committerMartin Pitt <martin@piware.de>
Fri, 29 May 2020 13:55:48 +0000 (15:55 +0200)
commitcb3918124925caa29af067345bfde486b843056f
tree96038a20b7ae66e1e25cc74e0aef0d233b721558
parentaa32d75e5020f40a39b12c6e5767c83be0722f70
Add button to take a photo

This calls an external intent [1]. This does not work yet -- while the camera app
is being called correctly, onActivityResult() always gets a -1 result.

[1] https://developer.android.com/training/camera/photobasics
app/src/main/AndroidManifest.xml
app/src/main/java/com/example/pittihelloworld/MainActivity.kt
app/src/main/res/layout/activity_main.xml
app/src/main/res/values/strings.xml