[FREE] Wallpaper Changer

you have to ask for SET_WALLPAPER permission

2 Likes

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.)

1 Like

Yo need to use this block

What is "llamar"?

1 Like

That is Spanish for 'call'. The developer is using App Inventor en Español (App Inventor for Spanish).

3 Likes

You can download the block image and put it in your programm...

1 Like

I did it like the image, but no authority was requested. I tested it with a companion.

1 Like

maybe it already have the permission

1 Like

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.

2 Likes

the extension don't work in the companion...you need to compile the app

2 Likes

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

2 Likes

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.

4 Likes

Or you can use this extension to ask permissions using list:

2 Likes

separated the permission block still not working. I think the problem is with file location or something...

1 Like

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.

2 Likes

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 icon24 Taifun.

1 Like

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.

1 Like

Good Idea😁
Thanks

1 Like