@@ -0,0 +1,1373 @@
+package com.fyp.mountainRescue2;%0A%0A%0Aimport android.os.Bundle;%0Aimport android.view.MotionEvent;%0Aimport android.app.Activity;%0Aimport android.content.Intent;%0A%0Apublic class splashActivity extends Activity%0A%7B%0A%09%0A%09%0A%0A%09@Override %0A%09public void onCreate(Bundle savedInstanceState)%7B%0A%09%09super.onCreate(savedInstanceState);%0A%09%09setContentView(R.layout.splash);%0A%09%09Thread splashTimer = new Thread()%7B%0A%09%09%0A%09%09public void run()%7B%0A%09%09%09try%7B%0A%09%09%09%09%09int splashTimer = 0;%0A%09%09%09%09%09//splash screen is displayed for 5000 m/s%0A%09%09%09%09%09while(splashTimer %3C 5000)%0A%09%09%09%09%09%7B%0A%09%09%09%09%09%09sleep(100);%0A%09%09%09%09%09%09splashTimer = splashTimer +100;%0A%09%09%09%09%09%7D%0A%09%09%09%09%09//Activity is called that clears the splash screen%0A%09%09%09%09%09startActivity(new Intent (%22com.fyp.mountainRescue2.CLEARSCREEN%22));%0A%09%09%09%09%7Dcatch(InterruptedException e)%0A%09%09%09%09%7B%0A%09%09%09%09%09e.printStackTrace();%0A%09%09%09%09%7D%09%0A%09%09%09%09finally%0A%09%09%09%09%7B%0A%09%09%09%09%09finish();%0A%09%09%09%09%7D%0A%09%09%09%0A%09%09%09%7D%0A%09%09%7D;%0A%09%09splashTimer.start();%0A%09%09%0A%09%7D%0A%09@Override%0A%09protected void onDestroy() %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09super.onDestroy();%0A%09%7D%0A%09@Override%0A%09protected void onPause() %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09super.onPause();%0A%09%7D%0A%09@Override%0A%09protected void onResume() %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09super.onResume();%0A%09%7D%0A%09@Override%0A%09protected void onStart() %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09super.onStart();%0A%09%7D%0A%09@Override%0A%09protected void onStop() %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09super.onStop();%0A%09%7D%0A%09%0A%09%0A%7D%0A%09%0A%09%0A

Create splashActivity.java