일정시간마다 서버에서 현재시간을 가져오면 되겠지요
그것을 화면에 디스플레이하면되구요
php나 asp 코드로 서버 시간을 가져와서 출력하게 한후에 그것을 아래코드로 가져와서
뷰에 출력을 해주면 되겠지요?
HttpGet httpGet = new HttpGet(newString);
String text = null;
try {
HttpResponse response = httpClient.execute(httpGet, localContext);
InputStream content = response.getEntity().getContent();
BufferedReader buffer = new BufferedReader(new InputStreamReader(content));
while ((text = buffer.readLine()) != null) {
//Work with "text" here...
//Split the string as you wish with "text.split();" function..
}
} catch (Exception e) {
return e.getLocalizedMessage();
}
doridori2013@nate.com