<Pick image from Android phone and store it in mob...
# stackoverflow
r
Pick image from Android phone and store it in mobile application Hi I need to store fitness client pictures to my application (Android). I'm doing my app in Compose and I have my own server (Ktor with MySQL). Code: This is code for XML private fun pickImageFromGallery() { val intent = Intent(Intent.ACTION_PICK) intent.type = "image/*" startActivityForResult(intent, IMAGE_REQUEST_CODE) } override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { super.onActivityResult(requestCode, resultCode,...