개발/안드로이드
[Android] InCorrect line ending : found carriage return (/r) without corresponding newline(\n)
Layout XML 생성시 오류: InCorrect line ending : found carriage return (/r) without corresponding newline(\n) 해결방법 : Ctrl + Shift + F 후 저장함
[안드로이드] 쓰레드 사용법
Thread thread = new Thread(new Runnable() { public void run() { //밑에 쓰면 쓰레드 돌아감!! } }); thread.start(); 핸들러 기본틀 Handler hd = new Handler(); hd.post(new Runnable(){ public void run() { tv.setText("[서버]"+dd); } });
안드로이드 개발환경 설정
1. JAVA 목록에 있는 JDK설치 하기를 참조하여 JDK(java develop kit) 를 설치합니다. 2. 안드로이드 개발툴 다운로드 http://developer.android.com/sdk/index.html 로 갑니다. Download the SDK ADT Bundle for Windows 버튼 클릭.