Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[GUIDE] AutomateIt Plug-in Development

$
0
0
Prerequisite
Don't know what is AutomateIt ? Read more on this thread.

What is AutomateIt Plugin ?
Plugins are applications that by installing them, you add new actions and triggers that you can use within AutomateIt. Sounds easy, right ?
Each plugin can provide additional triggers and actions that extend the capabilities of AutomateIt, so you can focus on the functionality and take advantage of the AutomateIt platform to connect each trigger or action with existing capabilities of AutomateIt or with other plugins.

More details and a list of available plugins are available on the app website.

Getting started
Although developing a plugin is super-easy and requires only several simple steps, you are deeply encouraged to read the full documentation on the app website.
To summarize it for you, here are the steps you need to follow when developing a new plugin:Setting up your environment after downloading the plugin SDK is done by adding the SDK library project to your workspace (assuming you are developing with Eclipse).

To get started with your plugin, create a new project, add a reference to the plugin SDK, Add manifestmerger.enabled=true to the project.properties file of your plugin project and make sure your project minSdkVersion is >= 8 in your AndroidManifest.xml file.

Creating a new plugin action or trigger is done by implementing a class that extends either PluginAction or PluginTrigger in your plugin project that references the AutomateItPluginLibrary.

Each of these abstract classes requires a set of simple functions to be implemented that provide metadata for the action or trigger (such as title, description, icons and parameters) and the functionality of the action or trigger.

When the plugin app is installed on a user device, it communicates with AutomateIt so that the plugin actions and triggers become available within AutomateIt.

Additional Documentation
Looking forward to seeing some awesome plugins !

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>