开发者

Is there a way for monkeyrunner to look at call and sms history on a device?

开发者 https://www.devze.com 2023-03-18 08:12 出处:网络
Is there a way for me to have monkeyrunner be able to look at call and sms history without using sqlite3? Befor开发者_开发知识库e, I was using Popen with adb shell \"sqlite3 /data/data/com.android.pro

Is there a way for me to have monkeyrunner be able to look at call and sms history without using sqlite3? Befor开发者_开发知识库e, I was using Popen with adb shell "sqlite3 /data/data/com.android.providers.contacts/databases/contacts*.db 'select * from calls'" and while that works on emulators it does not work on non rooted devices.

Is there a way to do something similar without rooting the device?


Did you try using monkeyrunner startActivity, broadcastIntent. I believe using broadcastIntent you can actually call a activity like launching com.android.contacts/.DialtactsActivity

0

精彩评论

暂无评论...
验证码 换一张
取 消