Page 128 - 3-2
P. 128

import java.io.BufferedReader;
            import java.io.IOException;
            import java.io.InputStreamReader;
            import java.net.HttpURLConnection;
            import java.net.URL;




            public class MainActivity_purcharse extends AppCompatActivity {


                TextView textViewtotal_price;


                Button purchase_btn;
                static String purcharse_price;


                // Progress Dialog
                private ProgressDialog pDialog;


                private static final String TAG_PRICE = "price";


                @Override
                protected void onCreate(Bundle savedInstanceState) {
                    super.onCreate(savedInstanceState);
                    setContentView(R.layout.activity_main_purcharse); // 화면


                    ActionBar actionBar = getSupportActionBar();
                    actionBar.setBackgroundDrawable(new ColorDrawable(0xFFFC961E));
                    Log.d(" 여긴가", "9.3_purcharse 로 이동했다");


                    Intent i = getIntent();
                    purchase_btn = (Button) findViewById(R.id.purchase_btn);


                    // getting product id (pid) from intent
                    purcharse_price = i.getStringExtra(TAG_PRICE);
                    Log.d(" 여긴가", "9.4_purcharse 로 이동했다 값 받아옴,        ");
                   // new SigninActivity_delete(this,status).execute(purcharse_price);


                    textViewtotal_price = (TextView)findViewById(R.id.total_price);
                    textViewtotal_price.setText(purcharse_price);
                    Log.d(" 여긴가", "9.41_purcharse  로 이동했다 값 받아옴 값 출력,  ,       ");
                    Log.d(" 여긴가", purcharse_price);
                }




                // 상단 메뉴바///////////////////////////////////////////////////////////////////////////////////////////////////////


                                                         - 128 -
   123   124   125   126   127   128   129   130   131   132   133