文件名称:WallpaperManagerTest
介绍说明--下载内容均来自于网络,请自行研究使用
2.创建一个WallpaperManager实例
var manager:WallpaperManager =WallpaperManager.getInstance()
3.在你想设置壁纸集的设备上设置图片资源的本地路径
var result:* =manager.setWallpaperFromPath([IMAGE-NATIVEPATH],false)
第二个参数是一个布尔值,用来当你设置它作为壁纸时控制是否缩放你的图片。结果变量将通常决定是或否参数基于操作的成功-AIR android settings Andrews wallpaper
var manager:WallpaperManager =WallpaperManager.getInstance()
3.在你想设置壁纸集的设备上设置图片资源的本地路径
var result:* =manager.setWallpaperFromPath([IMAGE-NATIVEPATH],false)
第二个参数是一个布尔值,用来当你设置它作为壁纸时控制是否缩放你的图片。结果变量将通常决定是或否参数基于操作的成功-AIR android settings Andrews wallpaper
(系统自动生成,下载前可以参看下载内容)
下载文件列表
WallpaperManagerTest
....................\AIR_Android_readme.txt
....................\AIR_iOS_readme.txt
....................\application.xml
....................\bat
....................\...\CreateCertificate.bat
....................\...\InstallAirRuntime.bat
....................\...\Packager.bat
....................\...\SetupApplication.bat
....................\...\SetupSDK.bat
....................\bin
....................\...\WallpaperManagerTest.swf
....................\cert
....................\....\certificate.p12
....................\dist
....................\....\WallpaperManagerTest.apk
....................\icons
....................\.....\android
....................\.....\.......\icons
....................\.....\.......\.....\icon_114.png
....................\.....\.......\.....\icon_48.png
....................\.....\.......\.....\icon_512.png
....................\.....\.......\.....\icon_57.png
....................\.....\.......\.....\icon_72.png
....................\.....\ios
....................\.....\...\Default-Landscape.png
....................\.....\...\Default-Portrait.png
....................\.....\...\Default.png
....................\.....\...\Default@2x.png
....................\.....\...\icons
....................\.....\...\.....\icon_114.png
....................\.....\...\.....\icon_48.png
....................\.....\...\.....\icon_512.png
....................\.....\...\.....\icon_57.png
....................\.....\...\.....\icon_72.png
....................\lib
....................\...\WallpaperManagerLibrary.ane
....................\obj
....................\...\WallpaperManagerTestConfig.old
....................\...\WallpaperManagerTestConfig.xml
....................\PackageApp.bat
....................\Run.bat
....................\src
....................\...\assets
....................\...\......\profilepic.png
....................\...\com
....................\...\...\adobe
....................\...\...\.....\.svn
....................\...\...\.....\....\all-wcprops
....................\...\...\.....\....\entries
....................\...\...\.....\....\prop-base
....................\...\...\.....\....\props
....................\...\...\.....\....\text-base
....................\...\...\.....\....\tmp
....................\...\...\.....\....\...\prop-base
....................\...\...\.....\....\...\props
....................\...\...\.....\....\...\text-base
....................\...\...\.....\images
....................\...\...\.....\......\BitString.as
....................\...\...\.....\......\JPGEncoder.as
....................\...\...\.....\......\PNGEncoder.as
....................\...\Main.as
....................\WallpaperManagerTest.as3proj