I ask you in an activity using the AsyncTask in the onPostExecute call and returns the value of the other activity codes are as follows :
Intent intent = new Intent ();
Bundle bundle = new Bundle ();
bundle.putString ("op_flag", "P");
bundle.putString ("cate_id", cate_id);
intent.setClass (Product.this, ProductList.class);
Product.this.startActivity (intent);
then
ProductList used
Bundle bundle = this.getIntent (). getExtras ();
find bundle is empty
I ask this question is what ? Is not so in the thread can not write ?
------ Solution ---------------------------------------- ----
seemingly did not see you go on the intent Bundle definition , ah ,
------ For reference only ------------- --------------------------
Well, I 2 of the
------ For reference only ---------------------------------------
没有评论:
发表评论