When you do that just be careful that you don't use any code from the higher API version without first checking the OS version at runtime...
On Wed, Feb 23, 2011 at 3:45 PM, Mark Murphy <[email protected]>wrote: > On Wed, Feb 23, 2011 at 5:42 PM, dashman <[email protected]> wrote: > > well the static method won't solve the problem i have..i can't > > refer to the method directly because i'm compiling for API4. > > Then don't compile for API4. Compile for the highest Android SDK you > are going to use from an API standpoint. Use minSdkVersion to indicate > the lowest that you are testing on. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android App Developer Books: http://commonsware.com/books > > -- > 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 > -- 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

