20.11.2016 Views

ANDROID APP

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

64 บทที่ 3 เธรด เซอร์วิส รีซีฟเวอร์ และการแจ้งเตือน<br />

private Handler mHandler = new Handler() {<br />

public void handleMessage(Message msg) {<br />

setContentView(R.layout.main);<br />

}<br />

};<br />

public void run(){<br />

initializeArrays();<br />

mHandler.sendEmptyMessage(0);<br />

}<br />

final static int NUM_SAMPS = 1000;<br />

static double[][] correlation;<br />

void initializeArrays() {<br />

if(correlation!=null) return;<br />

}<br />

}<br />

correlation = new double[NUM_SAMPS][NUM_SAMPS];<br />

//calculation<br />

for(int k=0; k

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!