Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Смена фонового рисунка

From Wiki
Jump to: navigation, search
Article Metadata

Оригинал: Change Wallpaper
Последнее редактирование: hamishwillee (20 Oct 2011)
Перевод с английского, оригинальная статья находится здесь.

Чтобы программно сменить фоновый рисунок в вашем телефоне, вы можете воспользоваться классом AknsWallpaperUtils, объявленным в aknswallpaperutils.h.


CAPABILITY WriteDeviceData
LIBRARY aknswallpaperutils.lib
_LIT(KWallpaperImage, "c:\\data\\images\\mywallpaper.jpg");
AknsWallpaperUtils::SetIdleWallpaper(KWallpaperImage, iCoeEnv);
This page was last modified on 20 October 2011, at 04:10.
24 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.