How to split multiple images into one post for instagram?

I have used instagram integration in my android app. My requirement is to split multiple images into one post. This is a new feature for instagram itself.

As far as I know, instagram only supports parsing targets for sharing data.

 Intent instagram = new Intent(android.content.Intent.ACTION_SEND);
        instagram.setType("image/*");
        instagram.putExtra(Intent.EXTRA_STREAM, uri);
        instagram.putExtra(Intent.EXTRA_TEXT, "caption:goes here");
        instagram.setPackage("com.instagram.android");
        startActivity(instagram);

      

I tried using a passive arraylist for multiple uris.

+3


source to share





All Articles