View.performClick();
比如:
private Button mButton01;
mButton01 = (Button)findViewById(R.id.myButton1);
mButton01.performClick();
延时函数
SystemClock.sleep(100);
转载于:https://www.cnblogs.com/seacode/p/3932645.html