> The verifier behavior will change in a future release. So in future:
import android.newapi.NewApi; public class MyActivity extends Activity { public void onResume() { if (BUILD.getSdkVersion() >= 4) { NewApi newApi = new NewApi(); } } } will work and this APK will install on older Androids (well, Androids after this change was made, but before the new api). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---