资 源 简 介
package com.hkddy8.shakedemo;import java.util.HashMap;import android.annotation.SuppressLint;import android.app.Activity;import android.app.Service;import android.content.Context;import android.hardware.Sensor;import android.hardware.SensorEvent;import android.hardware.SensorEventListener;import android.hardware.SensorManager;import android.media.AudioManager;import android.media.SoundPool;import android.os.Bundle;import android.os.Vibrator;import android.view.animation.Animation;import android.view.animation.Animation.AnimationListener;import android.view.animation.AnimationSet;import android.view.animation.TranslateAnimation;import android.widget.RelativeLayout;import android.widget.Toast;import com.hkddy8.shakedemo.R;@SuppressLint("UseSparseArrays")public class MainActivity extends Activity imple