2011-06-22 63 views

回答

0

將一些數據表示AlertDialog應顯示爲PendingIntent並將其放入您的通知的yourNotification.contentIntent。如果收到此Intent,請從Activity中顯示AlertDialog

看一看的Notifications Doc

1

我已經有通知的意圖打開一個新的活動具有透明背景的解決了類似的問題。該活動然後生成AlertDialog。

相關問題