I recently started android. I came across the putExtra(key,value)
method in the Intent
class. I don't understand what is the use of key parameter.
I want to pass string value to the other activity. Please help me to exoplain the code. I am using from Android Developer Portal.