[android-developers] Re: dalvik doesnt seem to recognize classes compiled with groovyc

2009-05-29 Thread fadden
On May 28, 2:21 pm, Mike Hearn wrote: > 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 ins

[android-developers] Re: dalvik doesnt seem to recognize classes compiled with groovyc

2009-05-28 Thread Mike Hearn
> 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 o

[android-developers] Re: dalvik doesnt seem to recognize classes compiled with groovyc

2009-05-28 Thread fadden
On May 27, 5:08 am, mail...@gmail.com wrote: > What should happen is that the classes invoking groovy should throw a > class not found exception since i don't have the groovy jar in the > classpath yet (theres no point atm). The current implementation of the verifier gets really testy when code d