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.
我正在使用 Calendar API 将事件添加到 Android 日历,但我无法检查用户是否实际添加了我的事件或取消了它。
我正在startActivityForResult以事件意图触发,然后我正在检查结果onActivityResult,但我总是得到resultCode = 0and data = null。
startActivityForResult
onActivityResult
resultCode = 0
data = null
有没有办法获取这些数据并检查用户实际做了什么?