摘要:
public class MainActivity extends Activity { private ImageView imageView; //传感器管理器 private SensorManager manager; //传感器监听器 private SensorListener listener = new SensorListener(); @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState... 阅读全文
摘要:
public class MainActivity extends Activity { private ViewFlipper viewFlipper; private float startX; private Animation in_lefttoright; private Animation out_lefttoright; private Animation in_righttoleft; private Animation out_righttoleft; @Override public void onCreate(Bun... 阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
//通知图标 int icon = android.R.drawable.stat_notify_chat; //创建通知对象,icon通知图标,tickerText摘要,System.currentTimeMillis()通知时间 Notification notification = new Notification(icon, tickerText, System.currentTimeMillis()); Intent intent = new Intent(Intent.ACTION_CALL, Uri.pars... 阅读全文