On Thu, Jun 14, 2012 at 7:12 AM, Rishabh Jain <[email protected]>wrote:

> What should I do so that my library can support both API levels at the
> same time. I am guessing there is some kind of annotation for that....


Use reflection and the Android APIs which tell you which version you're
running on to selectively enable and disable features. There's a blog post
about it - search for it.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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