I run Chapter 2, Intent Project on eclipse ide Version: 4.2.1. I found that show Map, Choose Contact and Launch My Web Browser code is not working. As I click on the button an error message display and close the program. Kindly tell me is there any mistake in project code or it is specific to any Android SDK version. Right now I am running it on Android 2.3.3 API Level 10
Code:
11-11 20:23:31.813: W/dalvikvm(4735): threadid=1: thread exiting with uncaught exception (group=0x40015560)
11-11 20:23:31.823: E/AndroidRuntime(4735): FATAL EXCEPTION: main
11-11 20:23:31.823: E/AndroidRuntime(4735): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.contacts/data/1 flg=0x1 (has extras) }} to activity {net.learn2develop.Intents/net.learn2develop.Intents.MainActivity}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://com.android.contacts/data/1 }
11-11 20:23:31.823: E/AndroidRuntime(4735): at android.app.ActivityThread.deliverResults(ActivityThread.java:2532)
11-11 20:23:31.823: E/AndroidRuntime(4735): at android.app.ActivityThread.handleSendResult(ActivityThread.java:2574)