Apply for Zend Framework Certification Training

Android




Step 1

C:\Users\rajesh.mandal\AndroidStudioProjects\Login\app\src\main\java\com\example

\rajeshmandal\login\LoginActivity.java 


// String getrec= jsonObject.getString("success");
 String getrec= "Welcome to My Space";
 Bundle bundle = new Bundle();
 bundle.putString("email_id", getrec);
 Intent i = new Intent(getApplicationContext(),Welcome.class);
 i.putExtras(bundle);
 startActivity(i);

Step 2

C:\Users\rajesh.mandal\AndroidStudioProjects\Login\app\src\main\java\com
\example\rajeshmandal\login\Welcome.java

Bundle bundle = getIntent().getExtras();
String email_id = bundle.getString("email_id");
TextView textView = new TextView(this);
 textView.setText(email_id);
 setContentView(textView);

                                    

< Login InAndroid Using PHP API And Mysql How to create Alert Dialog box in Android >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top