关于Android中未接来电的通知 [英] About Notification for Missed Call in android

查看:533
本文介绍了关于Android中未接来电的通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

收到Push-Notification时,我正在使用voip sip来调用处理呼叫.我想为未接来电创建顶部栏通知. Push-Notification收到时,我已经在处理呼叫.我已经搜索了很多东西,但没有任何帮助.

I am using voip sip for calling processing calls when Push-Notification received. I want to create top bar notification for missed call . I am already processing calls when Push-Notification receives. I already searched lot of things but nothing helped me.

我的问题是,我在接收到Push-Notification之后正在打电话,所以同样,我想在接收到Push Notification之后显示通知,因此我该如何区分接收Push-Notification的对象.

My question is, i'm making calls after receiving Push-Notification, so likewise i want to display notification after receiving Push Notification, so for that how do I differentiate for which i am receiving Push-Notification.

推荐答案

您收到的通知始终包含额外的信息,您在比较两个通知数据包并确定可用来区分两个通知的密钥时要做的所有事情.如果找不到这样的密钥,请要求API开发人员提供它.

The notification you are receiving it always contains extra information, all you have to do in compare both notification packets and identify the key using which you can differentiate both of notification. If you are not able to find such key ask API developer to provide it.

这篇关于关于Android中未接来电的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆