Skip to content

nht178/AutoLDPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoLDPlayer

Auto ADB LDPlayer Release Bao Gồm

  • KAutoHelpper
  • Emgu.CV.World.dll
  • Auto_LDPlayer.dll

Nuget

PM> Install-Package Auto_LDPlayer

List Command

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"
  1. 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");
  1. Initialization
   LDPlayer ldplayer = new LDPlayer();
  1. 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");
  1. 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)
  1. 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)
  1. 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");
  1. 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()
  1. Cmd
void ExecuteLD(string cmd)

string ExecuteLD_Result(string cmdCommand)
  1. Directional
void Back(string deviceID)

void Home(string deviceID)

void Menu(string deviceID)
  1. Tap with OpenCV
void Tap_Img(string deviceID, Bitmap ImgFind)
  1. Change Proxy
    void Change_Proxy(string deviceID, string ip_proxy, string port_proxy)

    void Remove_Proxy(string deviceID)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages