I need to pass an array of Uri to another activity,
to pass an array of String I use simply
String[] images=getImagesPathString();
Bundle b = new Bundle();
b.putStringArray("images", images);
But using an array of Uri
Uri[] imagesUri=getImagesUri();
this doesn’t works because there isn’t a method “putUri(Uri x)” in Bundle
How could I solve this problem?
You should look into the Parcelable interface to see how to pass things on an intent
http://developer.android.com/intl/es/reference/android/os/Parcelable.html
Maybe you can implement a ParcelableUri class that implements that interface.
Like this (not tested!!):