now browsing by tag

 
 

Pierre Hébert please add an API to request runtime permissions from a script

Pierre Hébert please add an API to request runtime permissions from a script

]]>

Is there anyone using my Scriptlib? If so, Version 2.0-beta1 is out. It would be great if you could test it.

Is there anyone using my Scriptlib? If so, Version 2.0-beta1 is out. It would be great if you could test it.

I’ve reworked the API completely for higher performance.

All calls are now syncronous, which means: No need for listeners anymore. This also means that these methods can block the thread and in turn shouldn’t be called on the UI thread.

Here is how it works: You create a new ScriptManager. Then you call bind(). Then you do whatever you want to do. If you are finished or the application exits, you should call unbind().

Sidenote: This will not work with very old Repository Importer versions, just keep your apps up-to-date 🙂

]]>

It would be cool if we had some kind of library system for scripts: These script libraries should be run once when…

It would be cool if we had some kind of library system for scripts: These script libraries should be run once when the scripting context is initialized and could be used to add helper functions.

This would simplify a lot of scripts, as a lot of code needs to be duplicated in separate scripts atm.

On top of that it would be great if scripts had a way to specify which libraries it uses, so it doesn’t crash if they are missing.

]]>

Pierre Hébert​ you said the new draw implementation might enable easy animating. Any progress / insights on that?

Pierre Hébert​ you said the new draw implementation might enable easy animating. Any progress / insights on that?

]]>

Don’t download the new Multitool update. The version is broken. I’m sorry and working on a fix.

Don’t download the new Multitool update. The version is broken. I’m sorry and working on a fix.

]]>

Is there some easy way to use a binding to make an item spin forever?

Is there some easy way to use a binding to make an item spin forever?

]]>

Circular Battery Indicator

Circular Battery Indicator

Use this in a custom view:

Comment #1: Create script

Comment #2: Dummy Binding

You can also take this script as an inspiration to create circular progressbars for other things.

]]>

Pierre Hébert while profiling my new Metadata script I noticed that the GPU is almost permanently active while the…

Pierre Hébert while profiling my new Metadata script I noticed that the GPU is almost permanently active while the script editor is open. Also the draws seem to take a lot more time. It is nothing visible without a profiler, but nonetheless it seems weird that the script editor takes more gpu time than a desktop.

]]>

Metadata script for any player. Requires android.permission.MEDIA_CONTENT_CONTROL !

Metadata script for any player. Requires android.permission.MEDIA_CONTENT_CONTROL !

Albumart works too, but is currently saved as an Image object in the global variable globalAA, because bindings can’t hold images.

This should work with any player on any device with Lollipop or higher.

]]>

Pierre Hébert would it be possible for a variable to hold a Bitmap/Image?

Pierre Hébert would it be possible for a variable to hold a Bitmap/Image?

]]>