@Override
protected Void doInBackground(Void... params) {
ArrayList<Pair> dataToSend = new ArrayList<>();
dataToSend.add(new Pair("name", user.name));
dataToSend.add(new Pair("username", user.username));
dataToSend.add(new Pair("age", user.age));
dataToSend.add(new Pair("password", user.password));
URIBuilder builder = //
HttpParams httpRequestParams = new BasicHttpParams();
return null;
}
Asked
Active
Viewed 194 times
0

OneCricketeer
- 179,855
- 19
- 132
- 245

Conner Gesbocker
- 21
- 4
-
what URIBuilder not coming up mean ? – Shree Krishna Feb 16 '16 at 04:12
-
Your question contains no description of the problem – OneCricketeer Feb 16 '16 at 05:12
-
1See this http://stackoverflow.com/questions/29058727/i-need-an-option-to-httpclient-in-android-to-send-data-to-php-as-it-is-deprecate – OneCricketeer Feb 16 '16 at 05:14
1 Answers
0
In your project's src/build.gradle
add this line
dependencies {
compile 'org.apache.httpcomponents:httpclient:4.0-alpha4'
}
and now synchronise your project and also build your project.

Shree Krishna
- 8,474
- 6
- 40
- 68

Ahmed Wahdan
- 330
- 4
- 15
-
is this supposed to give me access to HttpParams? It still comes up deprecated. – Conner Gesbocker Feb 16 '16 at 18:30