Thank you; appreciate the input. I will try to use Java reflection.

On Mar 10, 5:48 am, lbendlin <[email protected]> wrote:
> Like this, for the audio manager (older API versions do not support
> audio fading)
>
> public static CustomAudioManager newInstance(Context context) {
>         final int sdkVersion = Integer.parseInt(Build.VERSION.SDK);
>         CustomAudioManager cam = null;
>         if (sdkVersion < 8)
>             return cam;
>         cam = new FroyoAudioManager(context.getApplicationContext());
>         return cam;
>     }
>
> On Mar 10, 1:42 am, Kostya Vasilyev <[email protected]> wrote:
>
>
>
>
>
>
>
> > If it's just a few 3.0 methods, you can use Java reflection or
> > API-specific encapsulation classes.
>
> > -- Kostya
>
> > 10.03.2011 8:11, Jacob пишет:
>
> > > Hi all
>
> > > I am developing a project for OS version 2.2 (API level 8). I have an
> > > issue now. With the release of OS 3.0 (Honeycomb - API 11), I have to
> > > use some calls from this new OS.
>
> > > Well,
>
> > > How do I keep my code base same? I an unable to include the 3.0
> > > speicific APIs in 2.2 project. If I created a 3.0 project, I can't run
> > > that on 2.2 OS :)
>
> > > 1) Is there any way to solve this issue? Its very difficult to keep
> > > different project/code base for every new release.
> > > 2) Is there a way to have one package contian 2 apps?
>
> > > Any help is much appreciated.
>
> > > Thank you
> > > Jacob
>
> > --
> > Kostya Vasilyev --http://kmansoft.wordpress.com-Hide quoted text -
>
> > - Show quoted text -

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