Hey guys I'm working on an android studio app for a class. I'm trying to share text from a listview using a shareIntent. I have a variable called giftarray which is a String []
Here is my method called in java
Public void intent (){
Intent sharingIntent = nee Intent (Intent.ACTION_SEND);
sharingIntent.setType ("text/html");
sharingIntent.putExtra (?????);
startActivity (Intent.createChooser (sharingIntent, "Share using"));
}
What do I put in .putExtra to send the String [] to whichever share application is chosen. So the user can export the listview?