Showing Live Wallpaper in a 1.6 target app by detecting if it's a 2.1 device?
Posted
by itamarw
on Stack Overflow
See other posts from Stack Overflow
or by itamarw
Published on 2010-04-02T14:07:45Z
Indexed on
2010/04/02
14:13 UTC
Read the original article
Hit count: 339
We're building an Android app with target SDK 1.6, so it will run on 1.6 devices and higher. We'd like to support Live Wallpapers, which we know is 2.1+ only. Is there a way to build one app with 1.6 SDK as the target, but detect if the device it's running on is 2.1, and only in that scenario call the live wallpaper API.
We're trying to avoid having to build a separate 1.6 and 2.1 versions, and would like to be able to support Live Wallpapers for only 2.1 devices. So to be clear- 1 app, that can support 1.6 and higher, and support live wallpapers for 2.1 devices.
Any way of doing this?
© Stack Overflow or respective owner