Unless there is a stackoverflow or out of memory issue I do not see
any point in having a Force Close. If I catch all runtime exceptions
around a block of code the OS should ignore all exceptions inside that
call block.

Maybe some Force Close decision is about taking care of memory leaks
or other security sensitive issues. I believe getting an earful from
Bruce Schneier will improve the security layers quite a bit. For
example we could shorten the long list of permissions. Sorry about
throwing out name here. The song is not about him personally:)



On May 26, 2:05 pm, Dianne Hackborn <hack...@android.com> wrote:
> On Thu, May 26, 2011 at 1:46 PM, dipu <contac...@gmail.com> wrote:
> > Developing apps for android is fun. I just do not want to put a nail
> > on every null to avoid force close. Now even an ardent Agile fan would
> > call me a bad programmer. That is where I see religion (or cult). How
> > about get a few ex-ms people on board. Maybe they can resolve the
> > issue with the new incarnation of "Blue Screen of Death" called "Force
> > Close".
>
> Core engineers on Android come from Sun, Be, Danger, Palm, Microsoft, as
> well as other companies.
>
> Also "Blue Screen of Death" is when your entire computer crashes.  "Force
> Close" is when the current application crashes.  These are very much not the
> same thing.  The force close dialog is the same as the app crash dialog on
> windows.
>
> Of course we could do like iOS and just silently kill the app and return to
> the launcher.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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

Reply via email to