Page 105 - 3-2
P. 105
Log.d(" 여긴가", "owner_5-12121212_ 설마 너 jsonexception 이니.....?");
e.printStackTrace();
}
return null;
}
/**
* After completing background task Dismiss the progress dialog
**/
protected void onPostExecute(String file_url) {
// dismiss the dialog after getting all products
pDialog.dismiss();
// updating UI from Background Thread
runOnUiThread(new Runnable() {
public void run() {
/**
* Updating parsed JSON data into ListView
* */
ListAdapter adapter = new SimpleAdapter(
MainActivity_owner_compare_yet.this, productsList3,
R.layout.list_item3, new String[]{TAG_CODE,
TAG_NAME, TAG_PRICE},
new int[]{R.id.txtcode3, R.id.txtname3, R.id.txtprice3});
Log.d(" 여긴가","owner_5-13, 출력함");
// updating listview
setListAdapter(adapter);
// Intent go = new Intent(getApplicationContext(),MainActivity_tag.class);
// startActivity(go);
}
});
}
///////////////////////////////////////////////////////////////////////////////////////////
}
class SigninActivity_compare_del_table4 extends AsyncTask<String, String, String> {
@Override
protected String doInBackground(String[] arg0) {
try{
Log.d(" 여긴가", "owner_10.8_try 들어옴");
- 105 -