Category:

Share multiple photos whatsapp android

Last updated on August 1st, 2019 at 05:03 pmIn this post I explain to you how to send multiple images on WhatsApp from your android application using simple intent. ArrayList imageUriArray = new ArrayList(); imageUriArray.add(Uri.fromFile(imageFile)); imageUriArray.add(Uri.fromFile(imageFile)); Intent intent = new Intent(); intent.setAction(Intent.ACTION_SEND_MULTIPLE); intent.putExtra(Intent.EXTRA_TEXT, “https://www.trinitytuts.com”); intent.setType(“text/plain”); intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, imageUriArray); intent.setType(“image/jpeg”); intent.setPackage(“com.whatsapp”); startActivity(intent); Above code is very easy […]

Continue Reading
Posted On :