Thursday, June 2, 2011

[android-developers] Re: Re-scaling PNG image to fit screen results in file about 2X the screen size

On Jun 2, 6:18 pm, Romain Guy <romain...@android.com> wrote:

> Wallpapers are larger than the screen, you can query the size
> the wallpaper should have by using the WallpaperManager API.

Let's see, I've already tried (as shown in the revised code
in my previous post) getDesiredMinimumHeight() and
getDesiredMinimumWidth(), using those for the X/Y values,
and that didn't help.

After your post, I re-read everything in the Reference page
for the WallpaperManager (in the DevGuide) for the third time
today, and still didn't find anything else that seemed like it
would be applicable in finding the size of each individual
screen, except for one: suggestDesiredDimensions, but the
Reference page says that's reserved for the current Home
application, which isn't me. Should I use it anyways?

Or did I miss something all three times through it? (Serious
question---but I've posted the reasons enough times by now,
so I won't bore everyone with them again....)

Later,
--jim

--
73 DE N5IAL (/4) | DMR: So fsck was originally called
spooky130u@gmail.com | something else.
< Running FreeBSD 7.0 > | Q: What was it called?
ICBM / Hurricane: | DMR: Well, the second letter was different.
30.44406N 86.59909W | -- Dennis M. Ritchie, Usenix, June 1998.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate