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