我想在as3中编码或打开源文件例如,要将图像保存在Flash中的舞台中,并使其在桌面中成为背景,在手机中使其成为背景,请使用按钮。
You can try use this extension, they have a demo (with some limitations, but works)
1- Download this extension here
2- Edit your AndroidManifest.xml and add this permission:
3- Try this code:
//checking if extension is supported
if (WallpaperManager.getInstance().isSupported())
{
var scale:Boolean;
// default value is always false
WallpaperManager.getInstance().setWallpaperFromPath(IMAGE_NATIVE_PATH, scale);
// Pass native path of a image on device
}
Thank you very much Explain to me the steps I am a novice in programming And any program I use to implement it
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.