【问题标题】:android status bar icon run code blockandroid状态栏图标运行代码块
【发布时间】:2010-12-18 16:33:48
【问题描述】:

我知道如何从状态栏项打开活动,但它们是一种在不打开新活动的情况下运行一小段代码的方法吗?谢谢

【问题讨论】:

    标签: android android-activity statusbar


    【解决方案1】:

    使用getBroadcast() 或getService() PendingIntent 而不是getActivity() PendingIntent。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-07-15
      • 2015-07-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多