you have to ask for SET_WALLPAPER permission
How do I request authority?
What do you mean?
그러니까, 배경화면 권한을 어떻게 요청하나요?
So, how do you request background permission?
(제가 번역기를 사용하고 있어서 소통이 잘 안될 수 있습니다. I'm using a translator, so I might not be able to communicate well.)
What is "llamar"?
That is Spanish for 'call'. The developer is using App Inventor en Español (App Inventor for Spanish).
You can download the block image and put it in your programm...
I did it like the image, but no authority was requested. I tested it with a companion.
maybe it already have the permission
Some permissions, like android.permission.INTERNET
, are automatically granted when you installed an app (you have never seen Google asking you for internet access permission). I'm not sure if this is the case.
the extension don't work in the companion...you need to compile the app
This extension is working fine. Whenever I use image-picker to set an image as a wallpaper then it's working. But whenever I get the image using the phone image path then I'm not able the set that image as a wallpaper. Getting runtime null error.
My AIA File
wallpaper2.aia (293.2 KB)
Please use your package name.
Thank You
Hi there,
The problem is probably within these blocks.
The socket is meant to be a string, not a list. I think you need to ask each permission one at a time.
Or you can use this extension to ask permissions using list:
separated the permission block still not working. I think the problem is with file location or something...
What Android version are you using and are you using the Companion? The companion does not work, and Android 11 - 12 does not have the write permission.
what exactly is the "phone image path"? any example?
If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...
which means in your case post a screenshot of your relevant blocks...
To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Did you declare the SET_WALLPAPER permission under @UsesPermissions
in your extension? If you did, I don't think this block is necessary because the permission would be directly declared in the Manifest.
Good Idea😁
Thanks