* 弹出通知
* @param context 上下文
* @param id 通知ID
* @param icon 图标
* @param text 状态栏文字
* @param title 通知栏标题
* @param content 通知栏内容
* @param intent
*/
public static void notify(Context context, int id, int icon, String text,
			String title, String content, Intent intent) {
	long when = System.currentTimeMillis();
	PendingIntent pendingIntent = PendingIntent.getActivity(context, id, intent, PendingIntent.FLAG_CANCEL_CURRENT);
	Notification notification;
	final int sdk = android.os.Build.VERSION.SDK_INT;
	if (sdk < android.os.Build.VERSION_CODES.JELLY_BEAN) {
		notification = new Notification(icon, text, when);
		notification.setLatestEventInfo(context, title, content, pendingIntent);
		notification.flags = Notification.FLAG_AUTO_CANCEL;
	}else{
		Notification.Builder builder = new Notification.Builder(context)
				.setWhen(when)
				.setSmallIcon(icon)
				.setTicker(text)
				.setContentTitle(title)
				.setContentIntent(pendingIntent)
				.setPriority(Notification.PRIORITY_HIGH)
				.setAutoCancel(true);
		notification = new Notification.BigTextStyle( builder )
				.bigText(content)
				.build();
	}
	((NotificationManager)context.getSystemService(Context.NOTIFICATION_SERVICE))
			.notify(id, notification);
}