Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Beginning Android Application Development
|
BOOK: Beginning Android Application Development
This is the forum to discuss the Wrox book Beginning Android Application Development by Wei-Meng Lee; ISBN: 978-1-1180-1711-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 30th, 2012, 02:29 PM
Registered User
 
Join Date: Nov 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 2 Intent Project is not working properly

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)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 - Intent weimenglee BOOK: Beginning Android Application Development 0 May 13th, 2011 09:38 AM
Confused between the rules applied to Intent and Intent Filters fungi8210 BOOK: Professional Android 2 Application Development 1 March 10th, 2010 06:48 AM
ch 8 code is not working properly Dev_gh78 C# 1 August 4th, 2006 12:16 AM
PreparedStatement not working properly wslyhbb Java Databases 3 September 9th, 2003 01:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.