• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IS there a way to configure error page for android application?

 
Thennam Pandian
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to android application. In web application, we can configure error page for the entire application in web.xml.

Like that, is it possible to configure a error page ( Activity ) for entire android application.
 
Bill Mote
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. It can be done. I instantiate a helper class that catches all unhandled exceptions, dumps the data to a file and on the next run prompts the user to e-mail the crash data to me.

Bill Mote
 
Thennam Pandian
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please provide me more information about the helper class that catches all unhandled exceptions?

Please provide me all information about this class like configuration details and super class.


if possible, point me to a good link or share your class.
 
Bill Mote
Ranch Hand
Posts: 44
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, but I cannot provide you any specific code. It is not mine to share. I can tell you that I instantiate the class as a singleton from within my application. Here's at least a hint ...



I hope that's helpful.

Bill Mote
 
Sai Hegde
security forum advocate
Ranch Hand
Posts: 212
1
Android Flex Google App Engine
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you look at the ACRA libraries???
http://code.google.com/p/acra/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic