OK, I create a simple string from some data entered by the user. I now want this data to passed as a string (CSV like string) across to the next activity. In one example I have seen this:

intent.putExtra(EXTRA_MESSAGE, string_to_be_sent)But this throws an error saying EXTRA_MESSAGE isn't a value - ie. it is recognised by the intent. I think the example is outdated. What should I use to send a string? I have looked at documentation and found this:

public Intent putExtra (String name, String value)But what would be the name of my value?? Anything I choose, or does it have to be a package name??Thanks for the help :)


Check Solution