第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

通知欄點(diǎn)擊OPPO Find7上不起作用,在模擬器中可以跳轉(zhuǎn)界面,Builder在2.3系統(tǒng)上找不到類

private void sendNotification(){

????Intent intent = new Intent(getApplicationContext(),

????AlarmlistActivity.class);

????PendingIntent pendIntent = PendingIntent.getActivity(

????getApplicationContext(), 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);

????Notification mNotification = getMessageNotification(msg.getTitle(),msg.getContext(),pendIntent);

????messageNotificatioManager.notify(messageNotificationId, mNotification);

}


@SuppressLint("NewApi")

private Notification getMessageNotification(String title,String content,PendingIntent intent) {

???? Notification messageNotification = new ????????Notification(R.drawable.androidicon,title,System.currentTimeMillis());

???? messageNotification.flags |= Notification.FLAG_AUTO_CANCEL;

???? messageNotification.flags |= Notification.FLAG_ONGOING_EVENT;

???? messageNotification.defaults |= Notification.DEFAULT_ALL;

???? messageNotification.setLatestEventInfo(getApplicationContext(), title, content, intent);

???? return messageNotification;

}


正在回答

舉報(bào)

0/150
提交
取消
Android攻城獅的第二門課(第2季)
  • 參與學(xué)習(xí)       62384    人
  • 解答問(wèn)題       215    個(gè)

本課程講帶你熟悉Android開發(fā)中常用的調(diào)試方式,菜單、調(diào)試程序

進(jìn)入課程

通知欄點(diǎn)擊OPPO Find7上不起作用,在模擬器中可以跳轉(zhuǎn)界面,Builder在2.3系統(tǒng)上找不到類

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)