HttpClient 로 서버로 post 전송을 시도중인데
ContentValues params = new ContentValues();
params.put("phone_number", phone_number);
params.put("message", message);
HttpClient client = new DefaultHttpClient();
HttpPost post = new HttpPost("http://14.63.221.96/register.php");
UrlEncodedFormEntity ent = new UrlEncodedFormEntity(params,"UTF-8");
post.setEntity(ent);
client.execute(post);
이 코드 중에서 (params,"UTF-8")
이 부분에 에러가 나더라고 그리고 이 코드를 지운채로 실행시키면 전송값이 서버로 넘어가지도 않아
참고로 나오는 에러 메세지는 UrlEncodedFormEntity cannot be applied to (Android.content.ContentValues) 이렇게