Sunday, February 3, 2013

[android-developers] Re: What is the permission SET_WALLPAPER_HINTS used for?

I was trying to find out the same thing and stumbled upon this.
 
http://developer.android.com/reference/android/app/WallpaperManager.html 
For use only by the current home application, to specify the size of wallpaper it would like to use. This allows such applications to have a virtual wallpaper that is larger than the physical screen, matching the size of their workspace.

Note developers, who don't seem to be reading this. This is for home screens to tell what size wallpaper they would like. Nobody else should be calling this! Certainly not other non-home-screen apps that change the wallpaper. Those apps are supposed to retrieve the suggested size so they can construct a wallpaper that matches it.

This method requires the caller to hold the permission SET_WALLPAPER_HINTS.

On Sunday, 3 April 2011 00:25:24 UTC+10, gkil wrote:
I already know and use the SET_WALLPAPER permission and intent filter.

Can anyone describe how the SET_WALLPAPER_HINTS?  and example?

Thanks!

--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment