Error 1: Failed to load bitmap. - Tasker Tips & Tricks

23.52.35/E checkSDPath: /storage/emulated/0/Pictures/Screenshots/Screenshot_20190916-212558__01.jpg useRoot: false there: true file: true dir: false
23.52.35/FileUtil Set Wallpaper/checkSDPath: wudf: no write needed
23.52.35/E Set Wallpaper: checkSDPath: /storage/emulated/0/Pictures/Screenshots/Screenshot_20190916-212558__01.jpg useDocFile: false
23.52.35/E Set Wallpaper: checkSDPath: /storage/emulated/0/Pictures/Screenshots/Screenshot_20190916-212558__01.jpg ok true
23.52.35/E Set Wallpaper: failed to load bitmap.
23.52.35/E result: stop task (error)
23.52.35/E Error: 1
23.52.35/MacroEdit action finished exeID 1 action no 0 code 109 status: Err next 0
Tried changing name, location, extension... nothing works.
Can you help?

More info? Device? Version of tasker? Have you tried tried a different image? Does that image work using the system wallpaper settings?

ktmom said:
More info? Device? Version of tasker? Have you tried tried a different image? Does that image work using the system wallpaper settings?
Click to expand...
Click to collapse
Oneplus 5T, OxygenOS 9.0.8.
Tasker 5.8.3.
tried different image, didn't work. yes that image works using system wallpaper settings.

Because you haven't posted the task description, I'm guessing that you are using the tasker set wallpaper action. Have you tried the AutoTools image action?

ktmom said:
Because you haven't posted the task description, I'm guessing that you are using the tasker set wallpaper action. Have you tried the AutoTools image action?
Click to expand...
Click to collapse
Yeah, set wallpaper action. will try autotools.

ktmom said:
Because you haven't posted the task description, I'm guessing that you are using the tasker set wallpaper action. Have you tried the AutoTools image action?
Click to expand...
Click to collapse
It works with AutoTools image action. Thank you.

Related

2 Quick Questions

1. How do you open HTML Viewer manually, as a standalone application?
2. How can I modify the functionality of the long press Home button? (I want to make the required long press time shorter.)
Thank you
1. you should be able to create an anycut shortcut
2. without major edits to the OS you can't
tubaking182 said:
1. you should be able to create an anycut shortcut
2. without major edits to the OS you can't
Click to expand...
Click to collapse
I have AnyCut but HTMLViewer is not in the Activities menu.
I tried using Make My Own, but it just won't work.
Examples I found:
http://androidguys.com/?p=3160
Action: android.intent.action.PICK
Data: content://media/external/audio/playlists/
http://www.google.com/support/forum/p/Android+Market/thread?tid=601fa84b6ae23521&hl=en
action: android.intent.action.INSERT
data: content://contacts/people
http://androidguys.com/?p=2967
Action: android.intent.action.VIEW
Data: content://media/internal/audio/media/27
Click to expand...
Click to collapse
So I tried:
Action: android.intent.action.VIEW
Data: HTMLViewer
Action: android.intent.action.VIEW
Data: sdcard/test.pdf
Action: android.intent.action.VIEW
Data: content://sdcard/test.pdf
And none of them work. It just says "Application is not installed on your phone."
Does anyone know how to use AnyCut to open HTMLViewer or just open a file?
Anyone have any ideas?
Can BetterCut do this?
Haha, did I stump everyone?

[Q] backlight for Back/Home Button permanently

Hi,
is there a way so i can set the behavior of the Backlight from Back and Home Button myself or just turn it on all the time?
Im an TrickDroid Rom.
Thanks for your help :good:
Make a file and name it "99backlight" (no extension), and paste the following into it:
Code:
#!/system/bin/sh
echo "1" > /sys/class/leds/button-backlight/brightness;
chmod 444 /sys/class/leds/button-backlight/brightness;
Then save that file and copy it to /system/etc/init.d
Sorry for being a noob, but presumably this requires root?
I installed ES file explorer but couldn't see the system folder to paste it in.
RostokMcSpoons said:
Sorry for being a noob, but presumably this requires root?
I installed ES file explorer but couldn't see the system folder to paste it in.
Click to expand...
Click to collapse
I don't think i'd need it on all the time but perhaps make it a little less sensitive with light. It seems to go off very easily even in a dark room with a TV on is enough to make the Back and Home buttons backlight go off.
I also find this feature annoying. OK normally guess where they are but as you only need them lit when the main screen is on surely extra battery drain must be negligible.
So please HTC either option to have permanently on (with screen on) or ability to adjust sensitivity to personal preference.
Incidentally is there an official HTC blog to log such minor requests (not complaints)?
RostokMcSpoons said:
Sorry for being a noob, but presumably this requires root?
I installed ES file explorer but couldn't see the system folder to paste it in.
Click to expand...
Click to collapse
Yes, this does require root, sorry
Also for anyone trying to use that mod, you have to reboot after adding that file for the OS to read it
CNexus said:
Make a file and name it "99backlight" (no extension), and paste the following into it:
Code:
#!/system/bin/sh
echo "1" > /sys/class/leds/button-backlight/brightness;
chmod 444 /sys/class/leds/button-backlight/brightness;
Then save that file and copy it to /system/etc/init.d
Click to expand...
Click to collapse
just tried it and it doesn´t work.
i also rebootet after saving the file.
any advises?
MrShibby said:
just tried it and it doesn´t work.
i also rebootet after saving the file.
any advises?
Click to expand...
Click to collapse
i just noticed the file is gone after rebooting...
i also tried to change the permission but that didn´t help
MrShibby said:
i just noticed the file is gone after rebooting...
i also tried to change the permission but that didn´t help
Click to expand...
Click to collapse
Sorry but I had installed 2.4 now I am on 3.5 and the file stays but the light settings are still not changed
MrShibby said:
Sorry but I had installed 2.4 now I am on 3.5 and the file stays but the light settings are still not changed
Click to expand...
Click to collapse
Try changing the "1" to "255"
Shows how people are different. The lights not timing out is one of the things I hate about HTC devices. I wish I could permanently turn them off.
Sent from my LG-E970 using Tapatalk 2
americasteam said:
Shows how people are different. The lights not timing out is one of the things I hate about HTC devices. I wish I could permanently turn them off.
Sent from my LG-E970 using Tapatalk 2
Click to expand...
Click to collapse
Make a file called 99noLEDs in /system/etc/init.d and put the following into it:
Code:
#!/system/bin/sh
echo "0" > /sys/class/leds/button-backlight/brightness;
chmod 444 /sys/class/leds/button-backlight/brightness;
This one definitely works. I use it on my phone. The other one was just kinda testing because 0 is to disable and 1 is to enable...
https://play.google.com/store/apps/details?id=com.deskangel.adjbrightness&hl=en
adding these to my init.d didn't work for me
However I have found an app that does the job:
https://play.google.com/store/apps/details?id=com.deskangel.adjbrightness&hl=en
jagnet said:
adding these to my init.d didn't work for me
However I have found an app that does the job:
https://play.google.com/store/apps/details?id=com.deskangel.adjbrightness&hl=en
Click to expand...
Click to collapse
Ok, the only I know works for sure is the disable one 2 posts above.
CNexus said:
Try changing the "1" to "255"
Click to expand...
Click to collapse
Now the lights will come on earlier but not permanently.... We are almost there
MrShibby said:
Now the lights will come on earlier but not permanently.... We are almost there
Click to expand...
Click to collapse
does anybody know a solution?

Launcher 8 is AWESOME

After trying several launchers (adw, go, Launcher 7 and so on) with different high contrast themes, i decided that Launcher 8 is the one.
I attached some photos to show the results...
But I also have one question: is it possible to add quick WiFi shortcut on desktop ? I know that touching the clock will show the quick connect, but that is bull sh*t, I can only enable/disable. For advanced settings, I have to go in Settings menu. But if is possible, I would like to have that on my screen.
Thanks
derei said:
After trying several launchers (adw, go, Launcher 7 and so on) with different high contrast themes, i decided that Launcher 8 is the one.
I attached some photos to show the results...
But I also have one question: is it possible to add quick WiFi shortcut on desktop ? I know that touching the clock will show the quick connect, but that is bull sh*t, I can only enable/disable. For advanced settings, I have to go in Settings menu. But if is possible, I would like to have that on my screen.
Thanks
Click to expand...
Click to collapse
install Gscript
https://code.google.com/p/gscript-android/downloads/list
create a shell script containing :
am start -a android.intent.action.MAIN -n com.android.settings/.wifi.Settings_Wifi_Settings
- Place the script in /sdcard/gscript/
- Load it
Gscript allows you to create a desktop shortcut to the script.
Voila. You have a shortcut to advanced wifi settings on your desktop.
Alternatively you can write a simple apk to run this command (you will get your own custom icon).
You can use my FastMode2.apk as a model.
It starts a bash command and quits.
osowiecki said:
Alternatively you can write a simple apk to run this command (you will get your own custom icon).
You can use my FastMode2.apk as a model.
It starys a bash command and quits.
Click to expand...
Click to collapse
Where I can find it? (can you put it here?)
http://forum.xda-developers.com/showpost.php?p=39529578
Done
how to compile from source ( if you have android SDK installed and configured)
- change icons in /res/ folders if you like
- keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
- ant release
- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name
- adb install my_application.apk
have fun
http://developer.android.com/tools/publishing/app-signing.html
I rooted my nstg running 1.2.1 with nookmanager, and have the market place up and running, but when I try to install launcher 8 (apparently called wp 8 now) through the google play store on my laptop or claims it's incomparable with my device. Any suggestions?
Ericvanholstyn said:
I rooted my nstg running 1.2.1 with nookmanager, and have the market place up and running, but when I try to install launcher 8 (apparently called wp 8 now) through the google play store on my laptop or claims it's incomparable with my device. Any suggestions?
Click to expand...
Click to collapse
It might be. If you want to try anyway, copy the PlayStore URL and paste it into here. Then try to sideload/install and see if the NSTG will let you. If not, you need an earlier/compatible version.
nmyshkin said:
It might be. If you want to try anyway, copy the PlayStore URL and paste it into (link removed because I'm too new to the forum to post outside links). Then try to sideload/install and see if the NSTG will let you. If not, you need an earlier/compatible version.
Click to expand...
Click to collapse
So the link worked to generate an apk that I then saved to my google drive, after clicking on the file on my nook it appears to begin installation but then displays a message that there was a phrasing error...I'm new to android so I'm not entirely sure what this even means. I'd love to be able to run the launcher from the OP but I'm just not sure what steps I'm missing in the process. thanks in advance for any input that my help.
Ericvanholstyn said:
So the link worked to generate an apk that I then saved to my google drive, after clicking on the file on my nook it appears to begin installation but then displays a message that there was a phrasing error...I'm new to android so I'm not entirely sure what this even means. I'd love to be able to run the launcher from the OP but I'm just not sure what steps I'm missing in the process. thanks in advance for any input that my help.
Click to expand...
Click to collapse
Parsing error. That means it's for a higher Android version. Unfortunately none of the postings I could find re:Launcher8 give the version number. The current market version is 3.x
If you follow the link on the PlayStore page to the app website it looks like maybe you can download a version 2.x? Or you can try here and see if one of the older versions will install.
Does anyone know how to get the latest version of WP Launcher (new name for Launcher 8) to NOT show the tiles over the wallpaper?
I'm trying to settle on a launcher for the Nook Glowlight Plus (the October 2015 version). WP Launcher seems to work but the wallpaper/background makes it look terrible.
Ive been looking for a compatible version of launcher 8 but cant find it. I have a nst glowlight. Can anyone share a working link to it?
i found one, that is compatible, pm me if anyone needs it.

how to modify android.os.Build's static field?

Hi, I'm just use Xposed to dev a simple project.
I'm trying to modify device info by using Xposed. When I hook TelephonyManager.getDeviceId, return the value that just what I set.
But I can't find out how to modify the fields in andoid.os.Build. They are FINAL fields and Xposed can just hook on methods but not fields.
I get a way to set the fields using XposedHelpers.setStaticObjectField. It can ONLY modify ONCE when the target apk has not started. When the target apk( such as device info viewer ) started, I have to reboot or force close the apk because of the handleLoadPackage method can not reinvoke.
Waiting online for any solution. Thanks very much.
joetony said:
Hi, I'm just use Xposed to dev a simple project.
I'm trying to modify device info by using Xposed. When I hook TelephonyManager.getDeviceId, return the value that just what I set.
But I can't find out how to modify the fields in andoid.os.Build. They are FINAL fields and Xposed can just hook on methods but not fields.
I get a way to set the fields using XposedHelpers.setStaticObjectField. It can ONLY modify ONCE when the target apk has not started. When the target apk( such as device info viewer ) started, I have to reboot or force close the apk because of the handleLoadPackage method can not reinvoke.
Waiting online for any solution. Thanks very much.
Click to expand...
Click to collapse
I don't know which final field you are trying to change, but most of them get their values from getString(), getStringList() or getLong() methods.
You need to hook in these methods, read their "property" parameter ( param.args[0] ) to see if it is the one you want to change, and finally change the method result ( param.setResult() ).
Hello. Is there a solution to change the fields like Build.MODEL on the fly? Any examples not worked. Thanks.
Some fields can't be replaced, am I right?
Code is poetry:
https://github.com/M66B/XPrivacy/blob/master/src/biz/bokhorst/xprivacy/XPrivacy.java#L159
Your code is amazing
M66B said:
Code is poetry:
https://github.com/M66B/XPrivacy/blob/master/src/biz/bokhorst/xprivacy/XPrivacy.java#L159
Click to expand...
Click to collapse
It's worked only in own application with this code. In other apps it's not worked. I need to make changes to apply to all applications.
PS: Sorry for my bad English.
ifynk said:
It's worked only in own application with this code. In other apps it's not worked. I need to make changes to apply to all applications.
PS: Sorry for my bad English.
Click to expand...
Click to collapse
You can do this only when the Java VM is being initialized in handle load package.
M66B said:
You can do this only when the Java VM is being initialized in handle load package.
Click to expand...
Click to collapse
Thanks. How i can restart package for new init for handle load?
ifynk said:
Thanks. How i can restart package for new init for handle load?
Click to expand...
Click to collapse
There is no need for restarts, just set a new value in the Xposed handleLoadPackage callback for the applications you want to modify values.
Note that changing Build properties for Android might result in a bootloop.
Edit: if you don't known about handleLoadPackage , you need to do some studying ...
This all can be simplified by XposedHelpers.setStaticObjectField(clazz, name, value)
M66B said:
Edit: if you don't known about handleLoadPackage , you need to do some studying ...
Click to expand...
Click to collapse
Were i can read about handleLoadPackage? Thanks.

[Q] Setting Shared Preferences World Readable

Hi
I am trying to read settings for my module using XSharedPreferences. When I call makeWorldReadable method it returns false.
It's not because the path is wrong. I tried setting permissions from ES and then module can read settings.
I am also setting mode in preference fragment.
Code:
getPreferenceManager().setSharedPreferencesMode(Context.MODE_WORLD_READABLE);
But I am missing something.. Any ideas
726f62696e said:
Hi
I am trying to read settings for my module using XSharedPreferences. When I call makeWorldReadable method it returns false.
It's not because the path is wrong. I tried setting permissions from ES and then module can read settings.
I am also setting mode in preference fragment.
Code:
getPreferenceManager().setSharedPreferencesMode(Context.MODE_WORLD_READABLE);
But I am missing something.. Any ideas
Click to expand...
Click to collapse
Looks right to me (at least that's how I'm doing it). You're calling makeWorldReadable() in initZygote right?
Is this on the new LP xposedbridge?
With SE enabled it returns always false:
Code:
public boolean makeWorldReadable() {
if (!SELinuxHelper.getAppDataFileService().hasDirectFileAccess())
return false; // It doesn't make much sense to make the file readable if we wouldn't be able to access it anyway.
...

Categories

Resources