Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional Android 2 Application Development
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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..
Reply With Quote
  #2 (permalink)  
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...
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 11:23 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.