English 中文(简体)
• 如何清除未发状态通知
原标题:How to clear missed call notification from status bar

我试图以方案方式明确错失地位通知,但无法做到这一点。 我将感谢任何帮助。

edit: Seems like SDK doesn t let me do that directly. Can you guys suggest me any workaround? Thanks!

最佳回答

您只能删除<代码> 通知/代码>。 您不能删除另一申请中提出的“<> 通知/编码”。 Sorry!

问题回答

唯一一种“法律”但极其丑恶,而且通常毫无用处,以实现你想要向用户显示呼声。 我只字面显示(视像,有重点)。 如果你想这样做,那么,我们会如何:

public static boolean showCallLog(Context context)
{
    try
    {
        Intent showCallLog = new Intent();
        showCallLog.setAction(Intent.ACTION_VIEW);
        showCallLog.setType(android.provider.CallLog.Calls.CONTENT_TYPE);
        context.startActivity(showCallLog);
        return true;
    }
    catch (Exception e)
    {
        Log.d("Couldn t show call log.", e.getMessage());
    }
    return false;
}

造成这种情况的原因是,那些负责叫作伐木的人们使用了附庸的价值观。 你们需要向那些人通报,“红 Log”一词已经改变(意指改变),并且应当更新。 如果在所有装置上的所有此类仪器都能得到广播,以便更新,那将是空洞的,但我知道,情况并非如此。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签