you can store the uri as string
intent.putExtra("imageUri", imageUri.toString());
and then just convert the string back to uri like this
Uri myUri = Uri.parse(extras.getString("imageUri"));
More Related Contents:
- how can i send the string value into the intent.putextra? [duplicate]
- How to pass int value from one activity to another and display in TextView? [duplicate]
- Android with Intent and Custom Listview
- Sending Email in Android using JavaMail API without using the default/built-in app
- How to pass an object from one activity to another on Android
- How to launch an Activity from another Application in Android
- Launching Google Maps Directions via an intent on Android
- Read a pdf file from assets folder
- How do you use Intent.FLAG_ACTIVITY_CLEAR_TOP to clear the Activity Stack?
- Why does PDF is not able to upload in PHP API for Android Pie, Q and R using Retrofit 2 in Android/Java? [Not solved]
- What is sharedUserId in Android, and how is it used?
- Android: Pass data(extras) to a fragment
- How to select and crop an image in android?
- Android: how to parse URL String with spaces to URI object?
- How to resume Android Activity programmatically from background
- Convert String to Uri
- Internet listener Android example
- How to create Button Dynamically in android?
- Android Studio mailto Intent doesn’t show subject and mail body
- FileUriExposedException in Android [duplicate]
- Trivial: Get confirmation of email sent in android
- Intent.putExtras size limit?
- How do I delete files programmatically on Android?
- Android “single top” launch mode and onNewIntent method
- android camera : Failure delivering result ResultInfo{who=null, request=0, result=-1, data=null} to activity
- How to set layout dynamically in android
- Can Activity.getIntent() ever return null?
- Android – Access file from assets \ PDF display
- Pass Serializable Object to Pending Intent
- Passing ArrayList of string arrays from one activity to another in android