From 2295bd4f8f4a1d565e69ab5931ae2f0108d24407 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 1 Sep 2018 02:34:08 +0200 Subject: Added drawing tool and color selection seekbar --- app/src/main/java/me/texx/Texx/CameraActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java/me/texx/Texx/CameraActivity.kt') diff --git a/app/src/main/java/me/texx/Texx/CameraActivity.kt b/app/src/main/java/me/texx/Texx/CameraActivity.kt index 2cb67c2..ed50f25 100644 --- a/app/src/main/java/me/texx/Texx/CameraActivity.kt +++ b/app/src/main/java/me/texx/Texx/CameraActivity.kt @@ -65,7 +65,7 @@ class CameraActivity : AppCompatActivity() { override fun onPictureTaken(jpeg: ByteArray?) { val file: File? = createFile() writeFile(BitmapFactory.decodeByteArray(jpeg, 0, jpeg!!.size), file) - startActivity(intentFor("filepath" to file.toString())) + startActivity(intentFor("filepath" to file.toString())) } }) -- cgit v1.2.3