안드로이드 스프링 응답1 [Android] 안드로이드 웹 서버 응답 받기 Android to Spring Android to Spring Gson으로 Response Data 받기 Gson을 이용하기 위해서 build.gradle에서 complie을 추가해준다 1 2 3 4 5 6 dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:21.0.0' compile 'com.google.code.gson:gson:2.7' } Colored by Color Scripter cs 위와 같이 추가한 후 Sync Now를 통해서 추가해준다 이전에 Response로 받았던 JSON을 받아서 사용한다 객체로 받기 위해서 java에 .. 2016. 8. 1. 이전 1 다음