I want to open the security settings then scroll down the activity of security programmatically. Can anyone help me?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is not a straightforward task but I believe it may be possible using a similar implementation to Robotium.
I believe the key is using the ActivityMonitor class and a service to send events to an activity launched by another activity. This should put you on the right path. You can look at the ActivityUtils.java class to see an example of how to instantiate the ActivityMonitor. You could likely copy in parts of the Robotium code and use it for launching the Settings and causing a scroll event to occur.