Hello all, I like to switch between a normal an a KLWP wallpaper with Tasker. Does somebody knows how to do this.. I have seen some treaths but I don't get it to work. It would be great if somebody can assist me... Thanks!
This is outside Kustom control so i am not sure if you can do that, what you can do however is to switch from a KLWP preset to another using tasker, then you can have a very simple preset in Kustom that only shows an image, finally in that preset you can use a formula for the background image in order to set that image via Tasker or you can point to an image in the SD card and copy the wallpaper you want on that file before loading the simple preset.
First I like to thank you for this absolutely brilliant app. !! It suites all my needs for my tablet car PC project (and more). Top !!!
For my question; I have been reading and I found a threat that is saying that the following Tasker shell command should set the KLWP preset from tasker. I understand you are not 'Tasker support, but maybe you help me on the way.
service call wallpaper 2 i32 1 s16 "[package name]" s16 "[class name]"
In the example they have the following command:
service call wallpaper 2 i32 1 s16 "com.maxelus.poweroflifelivewallpaper" s16 "com.maxelus.poweroflifelivewallpaper.WallpaperService"
But that does not work for me, I believe the packagename and classname is not correct. Do you know the Package and clas name ??? (this is a bit above my level of Knowledge - Still learning :-) )
The trick you describe is also a solution I will give a try.
thanksand kind regards,
Sorry but i have totally no idea of what that command means, probably it allows you to set the Android Wallpaper to a pkg, if that works then you are good to go otherwise you can use my approach below that simply uses the standard KLWP action plugin so as soon as you can trigger that from tasker you should be able to do what you want. The only drawback of my solution is that you cannot use any other live wallpaper.
Ok, if this does not ring a bel, I'm on a dead track and will try your suggestion.
We try your suggestion. I can have Tasker send variables to KLWP. But then I'm a bit in the dark how to open the different Wallpapers in KLWP. I have two KLWP Designs, one for my car with a whole lot of buttons and features and one with just a simple clean background to use outside the car. How can I switch between these two Designs with Kustom. If I know that I can make it variable dependend)
There is a command to load a complete component. But there I can't find an exported component (I have exported the Wallpapers).
I actually only need Tasker to some how activate the KLWP wallpaper, since Tasker can set Wallpaper to a simple picture itself.
I have seen you added an option to change a klwp preset. I can make an object that loads a preset on touch. But I can't figure out if/how I can use this option to use in a formula or have the preset loaded on a global switch or var from Tasker. Can you give me an example. Thanks!!!
Hi Frank, I think I need new glasses. I'm as blind as a bat. In the KLWP plugin voor Tasker there is a direct commando to load a KLWP preset. Exactly what I need. Now my car preset is automaticaly loaded as soon as I enter the car. Top!
I only have a different question. I have soms buttons opening a kind of Windows with selection options. I use global switches to show of hide these containers. But in a lot of cases when the presents are loaded these containers are Shown on load. So is there a way to set these global switches so that default the containers are hot Shown on preset load.
I like to thank you again for this absolutely great app !!! And for your great support. Please keep developing new features.
I was searching for this myself and I got it to work using the following Tasker command:
service call wallpaper 3 i32 1 s16 "org.kustom.wallpaper" s16 "org.kustom.wallpaper.WpGLService"
Might help others who are trying to do the same :)
Hi Simon, thanks for your reply. I stil get an error allthough to seems to get closer. Can you tell me were I can set the name of the wallpaper name I want to be loaded.
Just checking something - if you're on Lollipop or above, the number after "service call wallpaper" should be a 3 (as I entered it). But if you're using KitKat or lower it should be a 2 (as it was in your example). So maybe try changing that to a 2 first.
As for setting the name of the wallpaper to load, I'm not sure. On my Tasker profile it just loads the last one that I used in KLWP (which is all I need it to do). I think I might have seen reference to a way to select it but can't remember right now. I'll see if I can find it and let you know.
I Just re-entered the commando in tasker and now I don't get an error running the command but nothing is happening. Only if I change the value 3 to 1 the next wallpaper from the library is set. So things seem to work only the wallpaper from klwp must be selected. But I don't know how to point out the wallpaper.