Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 2 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 December 24th, 2010, 03:12 PM
Registered User
 
Join Date: Dec 2010
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default Chapter 12 Emergency Responder 2 - crash!

after sending "are you ok?" SMS to the application it crashes...
debugging this (Eclipse to nexusone) leads to crash point:

EmergencyResponder.java: 117
// Send the message
sms.sendTextMessage(_to, null, _response, sentIntent, null);

there is an InvocationTargetException thrown but I don't know how to fix the code.

help appreciated
thanks

Last edited by makeit_quick; December 24th, 2010 at 03:28 PM..
 
Old December 24th, 2010, 03:35 PM
Registered User
 
Join Date: Dec 2010
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default

it seems like that the "Respond With" dialog needs to contain something.
the root of the crash seems to come from the fact that the response text is empty...




Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 10: UIImagePickerControl photolibrary crash Tom Kamphuis BOOK: Professional iPhone Programming with MonoTouch and .NET/C# 3 November 29th, 2010 08:11 PM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM
Errors on Chapter 12 example(12.8) sonnie ASP.NET 2.0 Professional 2 June 7th, 2006 10:55 AM
Cr8 & Stored procedure ..Crash ..Crash swissaKM Crystal Reports 0 January 2nd, 2005 06:02 AM
need emergency help for crystal report jijualex Crystal Reports 0 November 24th, 2004 02:43 AM





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