I'm trying to open an image with the gallery's default application, but it returns some 300 lines with the error "Method processed more than once" in this code snippet:
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.fromFile(imagePath));
startActivity(intent);