context.sendBroadcast(); 这样可以的,通过外部传进来的或者全局什么的context可以的activyt的context

解决方案 »

  1.   

    getApplicationContext().sendBroadcast(intent)
      

  2.   

    ThreeCallback.this你得确定这个对象是Context的一个子类对象
      

  3.   

    Service和Activity一样都是一个Context,发广播的方法就属于Context的
      

  4.   


    你上面的ThreeCallback.this,是啥呀?要是保证是Service的自身对象才行吧
      

  5.   

    楼上正解...context,通过上下问去发送广播,
      

  6.   


    你上面的ThreeCallback.this,是啥呀?要是保证是Service的自身对象才行吧
    亲,你是不是引用错了