Auto ADB LDPlayer Release Bao Gồm
- KAutoHelpper
- Emgu.CV.World.dll
- Auto_LDPlayer.dll
PM> Install-Package Auto_LDPlayer
Note:
param => name, index. NameOrId => "Name LDPlayer Or Index LDPlayer"
deviceID get form cmd "adb devices" or used void "GetDevices2_Running()" return the variable "adb_id"
- Set Path LDPlayer "ldconsole.exe"
LDPlayer.pathLD = "Your Path ldconsole.exe"; //VD: "C:\LDPlayer\LDPlayer4.0\ldconsole.exe"
//Set ADB Your Path
ADBHelper.SetADBFolderPath(@"C:\LDPlayer\LDPlayer4.0");
- Initialization
LDPlayer ldplayer = new LDPlayer();
- Manipulation Emulator
void Open(string param, string NameOrId)
void Open_App(string param, string NameOrId, string Package_Name) //Mở LD cùng app khi chạy
void Close(string param, string NameOrId)
void CloseAll()
void ReBoot(string param, string NameOrId)
Exam: ldplayer.Open("name", "ld0");
ldplayer.Open("index", "0");
- Custom Emulator
void Create(string Name)
void Copy(string Name, string From_NameOrId)
void Delete(string param, string NameOrId)
void ReName(string param, string NameOrId, string title_new)
- App
void InstallApp_File(string param, string NameOrId, string File_Name) //File_Name trỏ tới file apk
void InstallApp_Package(string param, string NameOrId, string Package_Name) //Cài qua LD Store, hơi dỏm, tốt nhất tự cài apk
void UnInstallApp(string param, string NameOrId, string Package_Name)
void RunApp(string param, string NameOrId, string Package_Name)
void KillApp(string param, string NameOrId, string Package_Name)
- Orther
void Locate(string param, string NameOrId, string Lng, string Lat) //Set Toạ Độ GPS
void Change_Property(string param, string NameOrId, string cmd)
cmd use:
[--resolution ]
[--cpu < 1 | 2 | 3 | 4 >]
[--memory < 512 | 1024 | 2048 | 4096 | 8192 >]
[--manufacturer asus]
[--model ASUS_Z00DUO]
[--pnumber 13812345678]
[--imei ]
[--imsi ]
[--simserial ]
[--androidid ]
[--mac ]
[--autorotate < 1 | 0 >]
[--lockwindow < 1 | 0 >]
Exam: ldplayer.Change_Property("name", "ld0", " --cpu 1 --memory 1024 --imei 123456789");
void SetProp(string param, string NameOrId, string key, string value)
string GetProp(string param, string NameOrId, string key)
string ADB(string param, string NameOrId, string cmd)
void DownCPU(string param, string NameOrId, string rate)
void Backup(string param, string NameOrId, string file_path)
void Restore(string param, string NameOrId, string file_path)
void Action(string param, string NameOrId, string key, string value)
void Scan(string param, string NameOrId, string file_path)
void SortWnd() //Sắp Xếp Tab Giả Lập
void zoomIn(string param, string NameOrId) //Phóng to
void zoomOut(string param, string NameOrId) //Phóng nhỏ lại
void Pull(string param, string NameOrId, string remote_file_path, string local_file_path)
void Push(string param, string NameOrId, string remote_file_path, string local_file_path)
void BackupApp(string param, string NameOrId, string Package_Name, string file_path)
void RestoreApp(string param, string NameOrId, string Package_Name, string file_path)
void Golabal_Config(string param, string NameOrId, string fps, string audio, string fast_play, string clean_mode)
[--fps <0~60>] [--audio <1 | 0>] [--fastplay <1 | 0>] [--cleanmode <1 | 0>]
Exam: ldplayer.Golabal_Config("name", "ld0", "60", "0", "0", "0");
- Get List Devices
List<string> GetDevices()
List<string> GetDevices_Running()
bool IsDevice_Running(string param, string NameOrId)
List<Info_Devices> GetDevices2()
List<Info_Devices> GetDevices2_Running()
- Cmd
void ExecuteLD(string cmd)
string ExecuteLD_Result(string cmdCommand)
- Directional
void Back(string deviceID)
void Home(string deviceID)
void Menu(string deviceID)
- Tap with OpenCV
void Tap_Img(string deviceID, Bitmap ImgFind)
- Change Proxy
void Change_Proxy(string deviceID, string ip_proxy, string port_proxy)
void Remove_Proxy(string deviceID)