android显示通知栏

	public static void showNotification() {
		try {
			Object service = getSystemService("statusbar");
			if (service != null) {
				Method expand = service.getClass().getMethod("expand");
				expand.invoke(service);
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

你可能感兴趣的:(android,exception,object,service,null)