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 | 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
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 26th, 2010, 10:47 PM
Registered User
 
Join Date: Dec 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Question Compass App fails with unspecified error

As others have mentioned I'm getting an application has stopped unexpectedly error even doing a cut and paste of the code from the listing.

It's very hard to debug a problem when it simply doesn't load up properly and thros a cryptic error message like this.

The question for me is where a description of this error would be listed as I don't see it in the console or the error log.

thanks
Reply With Quote
  #2 (permalink)  
Old December 27th, 2010, 04:37 AM
Registered User
 
Join Date: Dec 2010
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default

this sample seems to work with no problems on my nexusone.
it uses compass and gyro sensors - do you have them on your target device ?
i use the code from the download section in WROX
Reply With Quote
  #3 (permalink)  
Old December 27th, 2010, 10:07 AM
Registered User
 
Join Date: Dec 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Compass App fails with unspecified error

Hmm I didn't think about that. My phone is an Evo but I was just making it for one of the generic emulators. I'm not sure how to get an Evo emulator but I'd like to have it run in that environment before I try it on my phone.

I'll try to add the compass and gyro sensor functions to the environment and see if that makes a difference.

thanks,
R.
Reply With Quote
  #4 (permalink)  
Old December 27th, 2010, 11:02 AM
Registered User
 
Join Date: Dec 2010
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default

this also "works" on the emulator with no problems, even though there is not much to see.
Reply With Quote
The Following User Says Thank You to makeit_quick For This Useful Post:
ntuple (December 30th, 2010)
  #5 (permalink)  
Old December 30th, 2010, 12:44 PM
Registered User
 
Join Date: Dec 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Smile Solved

I started a new project and changed the package of the View class and it worked fine. Weird but it seems to have had a mixed up pointer on where the resource was.

Back to my original question I don't understand why no tracking of this type of error is available.

Quote:
Originally Posted by makeit_quick View Post
this also "works" on the emulator with no problems, even though there is not much to see.
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
MFC App fails trying to display a dialog cont pkam Visual C++ 1 August 16th, 2007 10:55 AM
Unspecified Error. lam_lvl ADO.NET 4 December 22nd, 2006 02:47 PM
Unspecified Error??? werD420 Classic ASP Databases 2 April 10th, 2005 01:00 PM
Authentication fails unless app is running on IIS tobriant BOOK: ASP.NET Website Programming Problem-Design-Solution 1 December 14th, 2004 10:20 PM
unspecified error Meterman Classic ASP Databases 1 July 13th, 2004 10:19 AM



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


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