Um, that's how it works.  You shouldn't get a force close unless there is a
stackoverflow or memory issue.
Perhaps you are talking about an Application Not Responding error, and
that's due to bad programming.

iPhone doesn't crash when you use the UI thread for any long tasks.  You are
just unable to interact with the app.

On Thu, May 26, 2011 at 3:16 PM, dipu <[email protected]> wrote:

> 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 <[email protected]> wrote:
> > On Thu, May 26, 2011 at 1:46 PM, dipu <[email protected]> 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
> > [email protected]
> >
> > 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx

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

Reply via email to