@@ -0,0 +1,2272 @@
+package com.example.tictacpawfinal;%0A%0Aimport android.app.Activity;%0Aimport android.content.Intent;%0Aimport android.os.Bundle;%0Aimport android.view.GestureDetector;%0Aimport android.view.GestureDetector.OnGestureListener;%0Aimport android.view.MotionEvent;%0Aimport android.view.View;%0Aimport android.view.View.OnClickListener;%0Aimport android.widget.Button;%0Aimport android.widget.TextView;%0A%0Apublic class InstructionsActivity extends Activity implements OnClickListener, OnGestureListener %7B%0A%0A%09Button button17;%0A%09TextView textView000;%0A%09GestureDetector detector;%0A%09%0A%09%0A%09@SuppressWarnings(%22deprecation%22)%0A%09@Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A    %09super.onCreate(savedInstanceState);%0A    %09setContentView(R.layout.instructions_screen);%0A%09    %0A    %09button17 = (Button)findViewById(R.id.button17);%09%0A     %09button17.setOnClickListener(this);%0A     %09%0A     %09detector = new GestureDetector(this);%0A%09%7D%0A%0A%0A%09@Override%0A%09public void onClick(View v) %7B%0A%09%09Intent changeView = new Intent(getApplicationContext(), WelcomeActivity.class);%0A%09%09startActivity(changeView);%09 %0A%09%7D%0A%0A%0A%09@Override%0A%09public boolean onDown(MotionEvent e) %7B%0A%09%09return false;%0A%09%7D%0A%0A%09@Override%0A%09public void onShowPress(MotionEvent e) %7B%7D%0A%0A%0A%09@Override%0A%09public boolean onSingleTapUp(MotionEvent e) %7B%0A%09%09return false;%0A%09%7D%0A%0A%0A%09@Override%0A%09public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) %7B%0A%09%09return false;%0A%09%7D%0A%0A%0A%09@Override%0A%09public void onLongPress(MotionEvent e) %7B%7D%0A%0A%0A%09@Override%0A%09public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) %7B%0A%09%09%0A%09%09 Intent changeToInstructions = getIntent();%0A%09%09%0A%09%09if(e1.getX()%3Ce2.getX() && changeToInstructions.getIntExtra(%22recognizeScreen%22, 0)==2) %7B%09%09%09%0A%09%09%09/** Changes back to the welcome screen */  %09%0A       %09    Intent changeView = new Intent(getApplicationContext(), WelcomeActivity.class);%0A%09%09%09startActivity(changeView);%0A%09%09%09return true;%0A%09%09%7D else if(e1.getX()%3Ce2.getX() && changeToInstructions.getIntExtra(%22recognizeScreen%22, 0)==1) %7B%0A%09%09%09/** Changes back to the main screen */  %09%0A       %09    Intent changeView = new Intent(getApplicationContext(), MainActivity.class);%0A%09%09%09startActivity(changeView);%0A%09%09%09return true;%0A%09%09%7D%0A%09%09return false;%0A%09%7D%0A%09%0A%09public boolean onTouchEvent(MotionEvent ev) %7B%0A%09%09return detector.onTouchEvent(ev);%09%0A%09%7D%0A%7D%0A

Create InstructionsActivity.java