732003684

导航

2013年1月8日 #

通知栏设置

摘要: 一般在service里设置 public static NotificationManager nm;private String _title; private String _artist;/** * 当开始播放时,通知栏显示当前播放信息 */ private void ShowNotifcation() { nm = (NotificationManager) getApplicationContext().getSystemService( Context.NOTIFICATION_SERVICE);//获取通知栏... 阅读全文

posted @ 2013-01-08 16:54 732003684 阅读(448) 评论(0) 推荐(0)

Tabhost 和 viewpager的结合使用

摘要: 一:布局<?xml version="1.0" encoding="utf-8"?><TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="match_parent" android:layout_height="match_parent" android:orienta 阅读全文

posted @ 2013-01-08 10:55 732003684 阅读(465) 评论(0) 推荐(0)