On Tue, Aug 3, 2010 at 6:00 AM, Justin <justinbrett1...@gmail.com> wrote: > The error I get is "The Application has stopped unexpectedly. Please > try again", but it only happens as if I use tthe following 2 lines: > Intent intent = getIntent(); > int position = intent.getIntExtra("ImagePosition", -1); > > If I create the variable in this activity and blank those lines out it > works, but I need the variable bringing accross.
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine the Java stack trace associated with your "error". -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. For more information about this change, please read [http://goo.gl/xkfl] or visit the Group home page. Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en