Autojs of intent to use - Get Activity

App to open Taobao search page, for example,

First Preparation Tool: Activity Manager

Download: https: //www.cr173.com/soft/824332.html

Alternate Address: https: //pan.baidu.com/s/1l2266vDbzp0hYcchkUC5jg extraction code: qeve 

Open Manager

Select Taobao app

Click believed to be correct Activity, test to see if correct, contains general search Search. Finding the right to open Taobao search page out.

Once you find to write code calls. Here to find out the right is "com.taobao.search.searchdoor.SearchDoorActivity".

1     app.startActivity({
2         action: "View",
3         packageName:"com.taobao.taobao",
4         className: "com.taobao.search.searchdoor.SearchDoorActivity"
5     });

It can run the app automatically open Taobao search page out.

 

Reference video https://www.bilibili.com/video/av24957865/, refer to the main video yourself up using autojs write out to be a record.

Guess you like

Origin www.cnblogs.com/weiwei2016/p/12175742.html