Back to project page project2.
The source code is released under:
MIT License
If you think the Android project project2 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package team2.scdm; /* w w w . j a v a 2 s .co m*/ import android.content.Intent; import android.os.Bundle; import android.view.GestureDetector; import android.view.View; public class Intro3 extends GestureListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_intro3); super.setGestureDetector(new GestureDetector(this.getApplicationContext(), this)); super.setLeftRight(Intro2.class, Intro4.class); } public void backward(View view) { startActivity(new Intent(this, Intro2.class)); } public void forward(View view) { startActivity(new Intent(this, Intro4.class)); } }