You can share multiple images to WhatsApp contacts using Intents by using putParcelableArrayListExtra method and passing an image URI ArrayList object.
Code Snippet: Uri uri1 = Uri.parse("android.resource://com.code2care.example.whatsappintegrationexample/drawable/image1");
Uri uri2 = Uri.parse("android.resource://com.code2care.example.whatsappintegrationexample/drawable/image2");
Uri uri3 = Uri.parse("android.resource://com.code2care.example.whatsappintegrationexample/drawable/image3");
ArrayList<Uri> imageUriArray = new ArrayList<Uri>();
imageUriArray.add(uri1);
imageUriArray.add(uri2);
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND);
intent.putExtra(Intent.EXTRA_TEXT, "Text caption message!!");
intent.setType("text/plain");
intent.setType("image/jpeg");
intent.setPackage("com.whatsapp");
intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, imageUriArray);
startActivity(intent);
You would see multiple images stack when the Android WhatsApp Activity page is loaded and you select a contact or group!!

Comments:
- Worked like a charm! Thank you!
anon 08 Nov 2020 17:11:43 GMT
- Further comments disabled!
- Officially Send WhatsApp message using webpage (html)
- Share Multiple Images in WhatsApp using Android Intent
- How to Install WhatsApp application on Mac
- How to resolve Certificate Expired WhatsApp Error
- How to send WhatsApp message from your Android App using Intent
- [Solution] Installing Whatsapp There's insufficient space on the device
- WhatsApp launches WhatsApp Web to Access Messages over web browser
- How to know if someone has read your WhatsApp message
- Share Image to WhatsApp with Caption from your Android App
- WhatsApp Web escanner
- Can we move apps like WhatsApp, Facebook to external MicroSD card
- Easy Steps to Upgrade iPhone to the new iOS 16 - HowTos
- Cannot access Windows application shortcuts on Start menu and Taskbar - Windows
- Turn Off Auto-Brightness on iPhone running iOS 16 - iOS
- How to access SharePoint Online data using Postman - REST API and Bearer token - SharePoint
- Android Disable back button programatically - Android
- [fix] JSON Expected BEGIN_OBJECT but was STRING at line 1 column 1 - Java
- bash get year 2021 calendar - Bash
- How to Configure Eclipse keymap in IntelliJ IDE - Android-Studio