今天看见一个极光推送的demo 自定义receiver,重写了oncreate()方法,在其中通过intent判断接收广播的状态。 关键来了: 其中的bundle是这样获取的。 Bundle bundle = intent.getExtra();