File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes IS there a way to configure error page for android application? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "IS there a way to configure error page for android application?" Watch "IS there a way to configure error page for android application?" New topic
Author

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

Thennam Pandian
Ranch Hand

Joined: Oct 11, 2005
Posts: 147
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

Joined: Feb 04, 2010
Posts: 42
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

Joined: Oct 11, 2005
Posts: 147
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

Joined: Feb 04, 2010
Posts: 42
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

Joined: Oct 26, 2010
Posts: 167

Did you look at the ACRA libraries???
http://code.google.com/p/acra/
 
 
subject: IS there a way to configure error page for android application?
 
Threads others viewed
Problem with forwarding page towards error page
EL is not working
Android sources of information - twitter / RSS / blog feeds etc?
custom 404 and 500 error pages in was 6.0
Exception Management in a web applications
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture