Android - Can we use flash file(.flv or .swf) to make a live wallpaper for an android device?
I have tried searching internet for a sample which could guide me to use a flash file as a live wallpaper in my app.
May anyone exp开发者_如何学编程lain what steps do i need to take to use it. If possible then please explain with some code snippets.
Any help would be appreciated.
Thanks.
I'm pretty sure AIR for android cannot be a live wallpaper because AIR for android is actually a runtime, and not a standalone app. the AIR for android runtime just doesn't have that feature.
That said, here is some helpful thoughts: AIR for android is a bit of a resource hog at present (version 2.6) if you use it for a live wallpaper, it will (probably) cause significant battery drain.
Developing live wallpapers in java is not that hard. If you are used to actionscript 3, switching over to a java is pretty easy. Check out Andengine - it supports exporting to live wallpapers. You canexport all of your flash assets and recreate your app pretty easily.
Most flash file movies get boring after one or two views at most and given that phones have limited battery life, why waste it on nonsense nobody really wants. Your users want to use the app and not be distracted by the "moving" background.
精彩评论