On Tue, Apr 12, 2011 at 11:12 PM, Jake Colman <col...@ppllc.com> wrote:
> Can you provide an example?

https://github.com/commonsguy/cw-android/tree/master/Menus/ActionBarBC
https://github.com/commonsguy/cw-android/tree/master/Prefs/FragmentsBC
https://github.com/commonsguy/cw-advandroid/tree/master/Camera/Picture

to name three.

> I am especially looking to understand how I can use this technique to
> have, for example, a preferences screen that enables/disable an option
> (probably with an appropriate summary text) based on OS version.

You don't need anything more than checking Build.VERSION.SDK_INT in an
if statement for that, I would think.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version
1.9.2 Available!

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

Reply via email to