http://android-developers.blogspot.com/2010/07/how-to-have-your-cupcake-and-eat-it-too.html
On Apr 22, 2:39 pm, "[email protected]" <[email protected]> wrote: > I have an app which uses mediametadataretriever to generate thumbnails > for videos. In the older system, I always use the media_jni library > and define my own mediametadataretriever class and it worked fine. > With API level 10 or later, mediametadataretriever is an built-in API > now. So, I am not sure what I should do. If I still build my project > using earlier version of the SDk, then because media_jni library > doesn't exist in the new sdk, so, my call will not work. If I import > the new media.mediametadataretriever, then I have to use new sdk to > build the project and use the new API to do it. It works on the new > system, But my old code will not work anymore. > > So, what should I do now? Is splitting the project into 2, one for old > system and use older sdk to build, and one for new system and use the > latest sdk to build, the only option? > > Thanks -- 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

