Skip to content

Scripting API — integrate Android API #4

@cheeseonamonkey

Description

@cheeseonamonkey

Currently when scripting you are able to "bind" Java classes to JS (using Beanscript). This always impressed me, and keeps LL scripting both backward and forward compatible!

However, it is pretty tedious.

I solved this issue by using LL in conjunction with MacroDroid (an automation/macro app which is similar to Tasker).

It would be great if the Android class here included more than just a function to makeNewToast().

I'd recommend these priorities, based on what I know of the difficulty implementing and usefulness of each:

  1. Ability to set device controls like Wi-Fi, Bluetooth, etc.
    (some will not be possible without root permission access, like toggling location, airplane mode, etc.)
  2. Better integration with Android "shortcuts", activities, and intent launching.
  3. Better integration with Android views ?
    (I only thought of this feature when customizing some selections in the context menu to be split horizontally in half)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions