Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想问一下我是否可以从 SmsManager 开始一个活动,尤其是从 sendTextMessage() 或者我是否可以使用 context.sendBroadcast() 函数。当我尝试发送消息时,我想以某种方式发送自定义意图。
我能做点什么吗?
对不起,但有点不清楚你实际上想要完成什么。sendTextMessage 只是发送一条短信。向该过程添加额外的意图或广播可以实现什么?
为什么要“从”sendTextMessage() 开始一个活动?为什么不直接发送短信,然后开始新的活动呢?