안드로이드 개발 질문/답변
(글 수 45,052)
<div style=" background-color:rgb(155,189,000);
left:616.5px; top:230.3px;">
<img width="34" height="28" src="./images/main/2.gif" alt="좌석번호:90"><div style="WIDTH:34px; height:28px; top:9px; font-family:굴림체; font-size: 14; color: #003366; ">90</div></div>
<div style=" background-color:rgb(245,234,040);
left:616.5px; top:275.8px;">
<img width="34" height="28" src="./images/main/2.gif" alt="좌석번호:99"><div style="WIDTH:34px; height:28px; top:9px; font-family:굴림체; font-size: 11; color: 0033FF; ">99</div></div>
이렇게 background-color:rgb(); 값만 다른 div 들이 있는데요
일반 파싱을 통하면 <div>---<div> 에서 ---값들을 주로 가지게 되는데 어떻게 해야 헤더에 있는 값들을 비교할수 있죠?ㅠㅠ
if(div1.get(i).getAttributeValue("id").equals("main_contents")){
edt1.setText(div1.get(i).getContent().toString());
전체 html에서 main_contents 라는 id를 가진 div를 가져오는것까진 성공했습니다...