You can use java Reflection to use methods available only on certain
Android versions. Or you can create some "helper" classes that you load
(again through Reflection) only on certain Android versions.

This doc can sure help:
http://developer.android.com/resources/articles/backward-compatibility.html


Cheers,
Yuvi

DroidAhead
http://www.droidahead.com

On Fri, Mar 30, 2012 at 9:27 AM, Terry <terb...@gmail.com> wrote:

> How to keep developing an app - to take advantage of new features in
> new Android versions - and still support old customers?
>
> What is the best approach?
>
> Example: Let us say that I want to use the front facing camera, which
> seems to be supported from Android version 2.3, and I originally made
> the app to support Android version 1.6 and newer?  If a make a new
> version of my app - setting minSkdVersion to the value corresponding
> to Android 2.3, then my old customers cannot use it. Is that OK? Am I
> not letting my old customers down then?
>
> On the other side, if I always want to support Android version 1.6,
> then I cannot take advantage of all the new features of Android. Or
> can I? Is there another way?
>
> What is the best strategy?
>
> Regards, Terry
>
> --
> 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

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