public static void checkAndroidStatus(JSONObject result) throws Exception {
		String appKey = "53e21921fd98c539dd0062f0";
		JSONObject obj = new JSONObject();
		obj.put("appkey", appKey);
		obj.put("timestamp", androidTimeStamp);
		obj.put("validation_token", androidValidation);
		obj.put("task_id", result.getJSONObject("data").getString("task_id"));

		int retrival = 20;

		while (retrival > 0) {
			String localUrl = "http://msg.umeng.com/api/status";
			HttpPost httpPost = new HttpPost(localUrl);
			JSONObject response = null;
			StringEntity s = new StringEntity(obj.toString());
			s.setContentEncoding("UTF-8");
			s.setContentType("application/json");
			httpPost.setEntity(s);
			HttpResponse res = client.execute(httpPost);
			String retSrc = EntityUtils.toString(res.getEntity());
			JSONObject js = JSONObject.parseObject(retSrc);
			System.out.println(js.toJSONString());

			if (js.getString("ret").equals("FAIL")) {
				Thread.sleep(1000);
				retrival--;
			} else {
				break;
			}
		}
	}