Git Product home page Git Product logo

autoldplayerntc's Introduction

AutoLDPlayerNCT

Auto ADB LDPlayer Release Bao Gồm

  • ldconsole.exe
  • Emgu.CV.World.dll
  • LDController.dll

Viết bởi Nhật Thích Codee https://www.facebook.com/nhat.canh.1998/

List Command

  1. Set Path LDPlayer "ldconsole.exe"
    LDController.pathLD = "Your Path ldconsole.exe"; //VD: "C:\LDPlayer\LDPlayer4.0\ldconsole.exe"
  1. Initialization
   using LDPlayerNTC;
  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");
string ADB(string param, string NameOrId, string cmd))
void Backup(string param, string NameOrId, string file_path)
void Restore(string param, string NameOrId, string file_path)
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 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()
string GetNameOrIndex(string param, string NameOrIndex)
bool IsDevice_Running(string param, string NameOrIndex)
  1. Cmd
void ExecuteLD(string cmd)
string ExecuteLD_Result(string cmdCommand)
  1. Rewrite KAutoHelper
void Delay(double delayTime)
Point GetScreenResolution(string param, string NameOrIndex)
void TapByPercent(string param, string NameOrIndex, double x, double y, int count = 1)
void Tap(string param, string NameOrIndex, int x, int y, int count = 1)
void Key(string param, string NameOrIndex, ADBKeyEvent key)
void InputText(string param, string NameOrIndex, string text)
void SwipeByPercent(string param, string NameOrIndex, double x1, double y1, double x2, double y2, int duration = 100)
void Swipe(string param, string NameOrIndex, int x1, int y1, int x2, int y2, int duration = 100)
void PlanModeON(string param, string NameOrIndex, CancellationToken cancellationToken)
void PlanModeOFF(string param, string NameOrIndex, CancellationToken cancellationToken)
void LongPress(string param, string NameOrIndex, int x, int y, int duration = 100)
Bitmap ScreenShoot(string param, string NameOrIndex, bool isDeleteImageAfterCapture = true, string fileName = "screenShoot.png")
bool FindImage(string param, string NameOrIndex, string pathPNG)
Point? FindImageOutPoint(string param, string NameOrIndex, string pathPNG)
void addProxy(string param, string NameOrIndex, string ip, string port)
void removeProxy(string param, string NameOrIndex)

autoldplayerntc's People

Contributors

nhatthichcodee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.