Answers for "In the UsingIntent app, add a UI control on the screen of the second activity so that you can go back to the first activity"

10

intent android open activity

Intent intent = new Intent(this, DisplayMessageActivity.class);
        intent.putExtra(key:,value:);
        startActivity(intent);
Posted by: Guest on May-19-2020
2

go to activity android

//going to another activity while ending the 
//previous one so that users cannot go back
btListe = (ImageButton)findViewById(R.id.Button_Liste);
    btListe.setOnClickListener(new OnClickListener()
    {    public void onClick(View v)
        {
            intent = new Intent(main.this, ListViewImage.class);
            startActivity(intent);
            finish();
        }
    });
Posted by: Guest on October-08-2020

Code answers related to "In the UsingIntent app, add a UI control on the screen of the second activity so that you can go back to the first activity"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language