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; //from www .j a v a 2s . c o m import android.content.Intent; import android.os.Bundle; import android.view.GestureDetector; import android.view.View; public class Intro4 extends GestureListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_intro4); super.setGestureDetector(new GestureDetector(this.getApplicationContext(), this)); super.setLeftRight(Intro3.class, Intro5.class); } public void backward(View view) { startActivity(new Intent(this, Intro3.class)); } public void forward(View view) { startActivity(new Intent(this, Intro5.class)); } }