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.
我想从收件箱中读取短信。在这里,我想阅读特定的消息。假设 mark 给我发了一条消息,我只想进行一个查询,该查询将返回仅指示 Mark 消息的光标。我尝试过类似的方法,但它对我不起作用
Cursor cursor = contentResolverSender.query( Uri.parse("content://sms/inbox"), null,"address =?" ,smsNo, null);