안드로이드 개발 질문/답변
(글 수 45,052)
제가 배경화면 어플리케이션 개발하고 있습니다...근데...
배경화면 애플리케이션을 Uninstall해서 설치된 이미지를 없애고...
디폴트 이미지 또는 전에 쓰였던 이미지로 되돌릴려고 합니다...
어떤 방법을 써야할 지 모르겠습니다...해결책 알려주세요...부탁드립니다...Please!
2012.07.26 22:00:39
WallpaperManager wm = (WallpaperManager) getSystemService(Context.WALLPAPER_SERVICE);
wm.clear();
---------------------------------
public void clear ()
Since: API Level
5
Remove any currently set wallpaper, reverting to the system's default
wallpaper. On success, the intent ACTION_WALLPAPER_CHANGED
is broadcast.
Throws
IOException | If an error occurs reverting to the default wallpaper |
---|
이걸 바라시는지는 잘모르겠지만.,.
질문이 명확하지가 않은거 같아요 좀 더 자세히 설명 좀...