On Fri, May 21, 2010 at 4:38 PM, Tommy <[email protected]> wrote: > When I test on a phone with 1.5 OS on it the app crashes. I get > java.lang.reflect.InvocationTargetException and the Cause is > java.lang.VerifyError: fishers.Nav.TakePicture$1 I assume because you have > to access the flash differently in apps below 2.0? >
This error indicates that you are trying to use an API that does not exist on older platforms. You have to use reflection to verify that the function you are going to be calling actually exists before you try to call it. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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

