This library serves to consolidate all necessary code to facilitate a backend for automation purposes on Android devices. The OpenCV Android SDK is being imported from this OpenCV Android SDK repo. Currently, this library can do the following:
- Uses
MyAccessibilityService
to programmatically execute gestures andMediaProjectionService
to acquire screenshots forImageUtils
to perform image processing operations on. BotService
handles the display and movement of the floating overlay button to start and stop program execution.- Handles connection with Discord and Twitter APIs with
DiscordUtils
andTwitterUtils
respectively. - Loads in a
settings.json
file withJSONParser
to be further processed in the primary project. - Saves a text log of messages with
MessageLog
. - Displays a persistent status notification informing the user via
NotificationUtils
. - Any messages that needs to be sent from this library to the primary project can be done with the
EventBus
library using theJSEvent
andStartEvent
event classes.
// Project-level build.gradle
allprojects {
repositories {
maven { url 'https://www.jitpack.io' }
}
}
// App-level build.gradle
dependencies {
implementation("com.github.steve1316:android-cv-automation-library:Tag")
}
- Create a Wiki and create a page for each class in the
utils
folder, explaining what each of them do in a broad scope and what they offer to the project that will be using them.