Ok thanks, just learnt to use adb and your guess is right. I see an error about READ_CONTACTS permission. May be I need to modify the manifest file.
E/AndroidRuntime( 268): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.smsapp/com.android.smsapp.SMSApp}: java.lang.SecurityException: Permission Denial: reading com.android.providers.contacts.ContactsProvider uri content://contacts/people from pid=268, uid=10018 requires android.permission.READ_CONTACTS On Fri, Dec 26, 2008 at 10:48 AM, Mark Murphy <mmur...@commonsware.com> wrote: > > Sarath Kamisetty wrote: >> How do I start debugging this ? > > Look at your error logs, using adb logcat, DDMS, etc. > > My guess is that you do not have permission to read contacts > (READ_CONTACTS), but that is just a guess. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.9 Available! > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---