摘要: // 设置定时 private void setSleep() { // 设置一次性的闹钟 Intent intent = new Intent(getActivity(), MusicBroadcastReceiver.class); intent.putExtra("toReceiver"... 阅读全文
posted @ 2016-01-08 15:43 请叫我码农怪蜀黍 阅读(142) 评论(0) 推荐(0)
摘要: public void showDialog() { View view = getActivity().getLayoutInflater().inflate( R.layout.mydialog, null); dialog = new AlertDialog.Builder(getA... 阅读全文
posted @ 2016-01-08 08:44 请叫我码农怪蜀黍 阅读(105) 评论(0) 推荐(0)