Using? a wrapper class of sorts? If I initiate the WallpaperManager
anywhere in my code, it will throw a VerifyError on older platforms, I
tried something like this:

if(Integer.parseInt(Build.VERSION.SDK) >= 5){
    WallpaperManager wallMan..
...blah blah
}

The only way it does not throw a verifyerror is when I don't use the
WallpaperManager anywhere.

On Apr 20, 11:33 am, "~ TreKing" <[email protected]> wrote:
> On Mon, Apr 19, 2010 at 6:35 PM, kec6227 <[email protected]> wrote:
> > Is this possible?
>
> Sure. Detect the platform version you're running on and use the new APIs on
> newer versions and the older APIs on older versions.
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to