Hey, I have a Activity and I have a class which extends this Activity. In this subclass I call:
startActivity(new Intent(this, CameraView.class)) Which should start the "CameraView" Activity. However, I always get this error: ERROR/AndroidRuntime(876): java.lang.NullPointerException ERROR/AndroidRuntime(876): at android.content.ContextWrapper.getPackageName(ContextWrapper.java:119) ERROR/AndroidRuntime(876): at android.content.ComponentName.<init> (ComponentName.java:74) ERROR/AndroidRuntime(876): at android.content.Intent.<init> (Intent.java:2093) If it makes any difference the subclass creates a ListView and when a row of the ListView is clicked it calls startActivity(); Any help is appreciated! Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

