I would like to use NameValuePair that is part of Apache commons-lang (link). The problem is I am getting an error when trying to initialize NameValuePair object, like this:
NameValuePair pair = new NameValuePair()
or like this:
NameValuePair pair = new NameValuePair("name", "value").
Currently the only import that suggested for NameValuePair is org.apache.http.NameValuePair. So I downloaded commons-lang jar from the above link and added it to the libs folder in my project.
Still the only import option that is available is the one mentioned above.
Thanks for any help.