now browsing by category
Multitool Update:
– Ability to view and reset all tags, not only the default one
– UI Change: No use of alert, instead custom Dialog to resolve problems with too large texts, they are now scrollable.
https://drive.google.com/file/d/0B40xU-30MxN7Znc4dXNBQktWMDA/view?usp=sharing
Again a Testversion, still only one Animation.
Zoom out and in again still freezes the launcher, I can’t fix that, because it’s a launcher bug.
Other bugs mentioned by +Jacob Barton should be fixed.
If you can test again that would be nice.
https://drive.google.com/file/d/0B40xU-30MxN7MmFVYXNPaklXMms/edit?usp=sharing
parallax background, accelerometer powered
This is a new script I made with the help of Lukas Morawietz. All the new bind class, and accelerometer events code was made by Lukas (also some suggestions), the position computation, tags and relative is mine.
The script takes the accelerometer values and place the item accordingly. It is size-dependent so the bigger the item is the more it will move. (Items smaller that the screen size will move a bit odd)
The settings are a parameter to control the lerp (smooth change from the previous value to the new one) otherwise it will move a lot. The other is a threshold to avoid small movements if your accelerometer sends changes even when the device rest, for low end devices.
Instructions:
– Choose an item. Remember to set a picture as background and hide the icon and text (or not, that’s up to you)
– Set this script in the resumed event of the item
– Important: detach the item
– Optional but recommended: set the script in the paused event of the item
– Optional: you may want to pin the item too.
The movement is stopped automatically when the launcher lost focus, but I recommend also to set the script in the paused event (specially if you use different desktops). It is made so if you run it from other events (a swipe or even the scripts menu) it stops. Useful if you want to edit the item.
To reload the script just turn off/on the screen. You may want to do it when setting the event and when changing the size of the item.
It works in folders and in panels too. And also you can set it in as much items as you want (with caution) The second video has two items, the galaxy background and the stars, both items has different sizes.
Note: I needed to add a small code to avoid the ‘0-size’ bug. If you get an error when the container is loaded just turn off/on the screen. Also I couldn’t test it myself long enough. If you get an error or it don’t work as expected write a comment.
(Again, thanks Lukas for helping me)


New APK: Snake Game
https://drive.google.com/folderview?id=0B40xU-30MxN7V0pVTUFtc3RRUm8&usp=sharing
I need some testers.
If you have some time to help me, that would be nice.
How?
* Install apk (https://drive.google.com/file/d/0B40xU-30MxN7UURVX2paSk1ncWc/edit?usp=sharing)
* Load script in a Desktop which you either have backupped or don’t care about the setup (e.g. a new one)
* Try to break the script without changing any settings after loading by e.g. move, edit, add, delete items
* If you manage somehow to get an error or have your setup destroyed by the script, please send me a backup/template
* Otherwise tell me so I know it works as intended
“Anyone, from the most clueless amateur to the best cryptographer, can create an algorithm that he himself can’t break.” -Schneier
Multitool has recieved a big update!
New included functionality: export, import and autoformat scripts
New UI, selction is now sorted into categorys.
Update in the wiki and available as apk here: https://drive.google.com/folderview?id=0B40xU-30MxN7TVpDMjd2dzY3Y3M&usp=sharing
We did get PorterDuff in last beta….but now I want EmbossMaskFilter. (spoiled me).
This I was able to get with bindClass….
But what would be the JS equivalent to:
float[] direction = new float[] {0.0f, -1.0f, 0.5f};
???
Thanks in advance!
]]>So here is my work in progress for passing variables directly to Zooper.
So here is my work in progress for passing variables directly to Zooper.
I use the folder Resume event to run the script.
I’m passing the folder name to a text variable LFOLDER and using a text element with the variable #TLFOLDER#
I’m also passing “on” to variable named the same as the folder. In Zooper it using an iconset I created ( one for each folder) & reading the variable uses either the white or green icon.
I have another script send a”” to the text variable and “off” to the folder variable.
var fldr = LL.getEvent().getContainer().getOpener().getLabel();
var intent = new Intent(“org.zooper.zw.action.TASKERVAR”);
var bundle = new Bundle();
bundle.putInt(“org.zooper.zw.tasker.var.extra.INT_VERSION_CODE”,1)
bundle.putString(“org.zooper.zw.tasker.var.extra.STRING_VAR”, “LFOLDER”);
bundle.putString(“org.zooper.zw.tasker.var.extra.STRING_TEXT”, fldr);
intent.putExtra(“org.zooper.zw.tasker.var.extra.BUNDLE”, bundle);
LL.getContext().sendBroadcast(intent);
var intent = new Intent(“org.zooper.zw.action.TASKERVAR”);
var bundle = new Bundle();
bundle.putInt(“org.zooper.zw.tasker.var.extra.INT_VERSION_CODE”,1)
bundle.putString(“org.zooper.zw.tasker.var.extra.STRING_VAR”, fldr);
bundle.putString(“org.zooper.zw.tasker.var.extra.STRING_TEXT”, “on”);
intent.putExtra(“org.zooper.zw.tasker.var.extra.BUNDLE”, bundle);
LL.getContext().sendBroadcast(intent);
]]>Next code snippet: change the homescreen
Be aware that an invalid value may cause unexpected behaviour
]]>I need someone good at javascript, because I’m facing a nice difficulty… :
For my TaskerTask API, I have the object TaskerTask which has a var. The TaskerTask constructor is like :
function TaskerTask() {
var intent = new TaskerIntent();
}
Now, I have functions like :
TaskerTask.prototype.addAction = {
setVariable: function(varName, value, options) {
//blabla
this.intent.addArg(/* blabla */);
},
flash: function(text, options) {
//blabla
this.intent.addArg(/* blabla */);
}
};
Which make me able to do this :
var task = new TaskerTask();
task.addAction.setVariable(“VarName”, value);
The problem is : in the setVariable function, this isn’t defined anymore… and I need it….
I’m not sure it’s very clear.. ask if needed !
]]>
D5 Creation