There is a help option included, it will explain how to use this app, not AIDE, or how to program in java.
I used this in building my FtpClient, and use it now to start my plugins.
If you start with the full template it is easy to see how the plugin interacts with DS.
I hope this helps someone, it has made my process of creating plugins, rebuilding, etc very simple.
Happy Coding!
Chris
After opening project in AIDE the java and inc files are empty. Is that correct? I know this is where I should put my code, can someone please help me with simple example for the 2 files doing anything. Just need it to get idea how it should look like e.g. parameters in and out of Droidscript
Thanks
However, the premium sdk is now built into DroidScript and I use it instead.
It produces very similar projects and the apks built by AIDE can be dropped into the Plugins folder in the same way as a zip.
The premium version of DroidScript comes with an sdk entry in the main menu to get started but if you do not have a Premium subscription, you can still access it.
You can get that menu as a non-premium user by creating a file called _sdk_ (with no extension) in your DroidScript folder on your phone or tablet.
I still use my gen because I have a few different templates.
Glad you like it :-)
Sounds like you are not compiling the plugin in AIDE. Try 'Project' - 'Rebuild' - it will compile the plugin.
It looks like you want to display an error dialog from your .inc file, then exit.
To do this, you would need to create a custom dialog, then exit from the Ok button callback.
As a shortcut while developing, I use
var meth = "DoMagic";
throw "\n"+"Object has no method "+ meth;
Just open .java & .inc files in AIDE ( or rather, any text editor or reader ). The params will be provided just as in js in the inc file. On the java side, you can see the functions being provide a "Bundle" parameter.
The bundle is then used to extract the parameters ( p1 - first, p2 - second ).
Regarding the arrays, you can convert the array to a string using "array.toString()" and return it, in Java. Then, convert it to an array again using arrayStringYouHave.split(",");