My Great Web page
Kamis, 03 Oktober 2013
Public String
public String getOdata() {
String JASONrs = "You will get there!";
// some more code is to come here
return JASONrs;
}
private class ShowDialogAsyncTask extends AsyncTask{
@Override
protected String doInBackground(Void... arg0) {
return getOdata();
}
@Override
protected void onPostExecute(String result) {
TextView tv = (TextView) findViewById(R.id.MyTextResponse);
tv.setText(result);
}
}
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar