GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

'Real' Android programming

Grace Tangarine Mobile Applications Diploma Englisch 2 Karten

Karten in diesem Stapel (2)

  1. 1Steps to implement (fully-functional) radiobutton?1. Define radio group & buttons in xml
    2. Declare in .java (RadioGroup, RadioButton)
    3. findViewById
    4. setOnCheckedChangeListener
  2. 2Methods to pass data from 1 activity to another?-Intent
    //1st activity
    private String toPass = "";
    Intent i = new Intent(getApplicationContext(), NewActivity.class);
    i.putExtra("new_variable_name", );
    startActivity(i);
    //retrieve those values in new activity
    Bundle extras = getIntent().getExtras();
    if(extras != null) {
    String value = extras.getString("new_variable_name");
    txt.setText(value); //optional; txt is a TextView object
    }

Informationen

Beschreibung
Diploma Mobile Applications (Android Concepts) Karteikarten am 'Real' Android programming, erstellt von Grace Tangarine am 21/08/2014.
Erstellt von
Grace Tangarine
Aufrufe
19
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck