On Sun, Aug 15, 2010 at 9:57 AM, kretes <kretesena...@gmail.com> wrote:

> so it must be that while creating the app Android System decided that there
> are not enough resources for my app.
> Is my suspicion right?
>

I doubt it. More than likely your app is throwing an exception between "1"
and "2". I think Android tries to restart apps sometimes after they've
crashed which would explain your multiple restarts.


> How can I do sth. with this - at least catch and log such an event in a
> precise and sure way.
>

Wrap it in a try / catch block? Of course you'll only be masking the problem
and you'll probably crash elsewhere when the stuff you need to load in that
section is not found.

On Sun, Aug 15, 2010 at 5:02 PM, kretes <kretesena...@gmail.com> wrote:

> I don't know if it matters, but these are some operations - especially here
> on Preferences and on SQlite Database, so they need some small amount of
> processing.
>

Of course it matters - whatever you're doing in there is your problem. The
SQlite in particular should be dealt with with care.

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

Reply via email to