Are you calling this activity using startActivity(intent)? or are you explicitly calling the onCreate() from your GolfCaddie activity? If the latter then it will not work as you are bypassing a lot of activity setup logic that is needed. Using "DBHelper.this" as the context will not work as the context is not setup properly.
Overall, DBHelper should not be an activity. -- 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