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 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. - TreKi

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 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