[android-developers] Triggering a Force Close to Test the Handling

2011-03-24 Thread Jake Colman

Is there a way for me to trigger a force close so that I test
how/whether my handling of it working as I expect?

-- 
Jake Colman -- Android Tinkerer

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Triggering a Force Close to Test the Handling

2011-03-24 Thread Marcin Orlowski
On 24 March 2011 18:03, Jake Colman col...@ppllc.com wrote:


 Is there a way for me to trigger a force close so that I test
 how/whether my handling of it working as I expect?


divide by zero; try to start non existing activity without using try/catch,
reach out of array bounds etc

Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
WebnetMobile of *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Triggering a Force Close to Test the Handling

2011-03-24 Thread TreKing
On Thu, Mar 24, 2011 at 12:03 PM, Jake Colman col...@ppllc.com wrote:

 Is there a way for me to trigger a force close so that I test how/whether
 my handling of it working as I expect?


Throw an exception.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en