
public class test { public static void main(String args[]) { //System.out.println("test"); Thread1 t1 = new Thread1(); Thread2 t2 = new Thread2(); t1.start(); t2.start(); try { t1.sleep(2000); } catch (InterruptedException e) {} System.out.print(""); } } class Thread1 extends Thread { public void run() { for(int i=0 ;i
์๋๋ก์ด๋์์ ์ธํฐ๋ท, ๋คํธ์ํฌ ์ฐ๊ฒฐ์ MainActivity์์ ๋ฐ๋ก ์คํ๋์ง์๋๋ค. ๋ณ๋์ AsynchTask๋ Thread๊ฐ ํ์! AsynchTask()์ @override doInBackground()์ ์ฌ์ฉ๊ณผ ๊ด๋ จํ ์๋ฃ๋ค http://mainia.tistory.com/2161 https://blog.asamaru.net/2015/09/03/android-http-ping/ https://hashcode.co.kr/questions/2059/androidosnetworkonmainthreadexception%EC%9D%80-%EC%96%B4%EB%96%BB%EA%B2%8C-%ED%95%B4%EA%B2%B0%ED%95%98%EB%82%98%EC%9A%94 ๋ฌผ๋ก manifests์ ๋ ๊ธฐ๋ณธ.
- Total
- Today
- Yesterday
- reversing
- javascript
- ๋ฆฌ๋ฒ์ฑ
- Android Studio
- JPA
- OneToMany
- FRAGMENT
- Data Structure
- ๊ฐ๋ฐ์
- sort
- ์ฐ์ํ ํ ํฌ์ฝ์ค
- Stack
- graph
- ์นํดํน
- brute-force
- ํ๋ก๊ทธ๋๋จธ์ค
- C
- Java
- Android
- bfs
- git
- queue
- dfs
- ํด์ธ์ฌํ
- ํ๊ณ
- Algorithm
- Vo
- mysql
- socket
- webhacking.kr
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |