Skip to content

.NET Communication and Management of Android Devices

Notifications You must be signed in to change notification settings

georgiaboy247/AndroidLib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#AndroidLib - Originally created by Regaw-Leinad (Dan Wager).

Introduction

AndroidLib is a .Net class library, designed to make the communication between a .Net application (written in C#, VB, or VC++) and an Android device (phone, tablets, game console, emulator, and more) as easy as possible. AndroidLib, originally created by Regaw-Leinad, branched off and continuously developed by me, contains classes, events, methods, and more to ensure ease of communication between your program and an Android device.

This version contains code, methods, and more, designed to work specifically with applications running on the .Net framework version 4.5.1 and higher. These new improvements include asynchronous methods and functions for ADB command execution and more efficient code, due to the use of new operators in the C# language.

Downloading and using AndroidLib

Downloading the repository

To download this repository, it is recommended that you, if you do not already have one, create a new GitHub account. Should you already have a GitHub account, please login to said account.

Once you have logged in to your GitHub account, you can fork this repository to your own account. From there, you can download the fork to your computer (I recommend using the GitHub for Windows tool).

Using AndroidLib

Before you can use AndroidLib in your project, and after you have downloaded it to your computer, make sure you have at least Visual Studio 2013 installed. If you do not have Visual Studio 2013 installed, you cannot open this solution, as the solution file is not backwards compatible.

Building a redistributable DLL (dynamic loaded library)

If you have Visual Studio 2013 installed, proceed to open the solution in the repository.

Once you have opened the solution, set the build configuration to Release (and if applicable the desired build architecture. I recommend leaving it at Mixed architecture) and hit CTRL+SHIFT+B to initiate the build process. This might take up to several minutes depending on the speed and load of your box.

The built .dll-file will be output to bin\release inside the repository. To use the DLL, add it as a reference to the startup (main) project.

Adding the project to another solution (recommended)

In Visual Studio, right-click on the solution and select Add->Add existing project. In the Open-dialogbox, navigate to the repository on your computer. Open the solution and double-click on AndroidLib.csproj. The project will be added to your solution. From there, add the newly added project as a reference to use the AndroidLib library.

AndroidLib documentation

This version of AndroidLib is considered a separate project by me, and as such, I have created my own documentation, built with Sandcastle Help File Builder (SHFB). The documentation for AndroidLib can be found both here, in the repository, and on my webserver. View the documentation online

AndroidLib on XDA-Developers.

This project was originally started by Regaw-Leinad (Dan Wager) on XDA-developers.com. I do not want any credit for his original idea.

Please check out Dan's original XDA-thread for AndroidLib

Misc.

I have spent countless hours on this version of AndroidLib, adding, testing, and improving the features for this version of the library. I created this separate branch of AndroidLib, to create a library that suits my needs for my programs and projects. I upload the changes in the hopes that it will help someone else. Thank you for using my version of AndroidLib.

About

.NET Communication and Management of Android Devices

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%