Background picture lock ratio

I didnt instaled the aplication on my phone. I never install aplications of uknown souces.
I just want to know solution that works on every phone with diferent resolution.
Just tell me how to do it..
Thanks

My test app also modifies the background image, but programmatically and adapts it to the required dimensions / resolution.

Nice...how to do this?

  1. The source is no longer unknown.
  2. The APK has been checked automatically by Google Drive.
1 Like

Can you tell me how to do this, please? or put the aia

Maybe someone else is interested and will check it out.

1 Like

I see that you dont want to tell me the solution?

1 Like

I want to be sure, that this is a solution.

If you are sure that this is solution just tell me how you makit.. thankyou

For me works perfect, tested for now on Xiaomi Mi A1, android 9, HxW 640 x360 , density 3 AspectRatio 1.77778

2 Likes

Here is one simple method, not widely tested, uses a canvas and a clock.

There is a bug in the canvas saveas file path at the moment. You may need to use the file component to set a different path to the application specific directory

image used:

Note see post below, that helps to take account of the screen title bar
Background picture lock ratio

1 Like

hi..can you put aia project?
thankyou

Sorry, I deleted it. It will help if you build your own blocks though, you will understand how it all works :slight_smile:

why it must be timer? It is one time timer or repeting timer?

Just a one off timer. You need to give the canvas/imagesprite time to set its new sizes. The timer in my aia was set to 250ms.

1 Like

ok..what about a bug you are talking? what must I do?

Something like this:

the first option works for me...the second it throw me some error.
When I want to install app on my poco x3 it say that the program is trojan??? I made a trojan...

Since I have now received your screenshots via PM, and can see that it also works on your devices, I hereby present my solution:

(used extensions from @Taifun and from me)

1 Like

This is on another level. I dont understand nothing. I am not on that level