Code example for GoogleMap

Methods: addMarker, getMyLocation

0
			case 1: 
				Intent s = new Intent(this.context, MainActivity.class)
				 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 
				context.startActivity(s);
				((Activity)context2).finish();
				 
				 
				break; 
			//about us option selected 
			case 2: 
				//launches new activity 
				Intent intent=new Intent(this.context, aboutus.class)
				 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 
				context.startActivity(intent);
				 
				break; 
			//instructions 
			case 3: 
				//launches new activity 
				Intent intent2=new Intent(this.context, instructions.class)
				 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);