Sunday, August 15, 2010

[android-developers] Re: OnCreate does not finish

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.

On 15 Sie, 20:59, RichardC <richard.crit...@googlemail.com> wrote:
> What is sth?
>
> On Aug 15, 3:57 pm, kretes <kretesena...@gmail.com> wrote:
>
> > Hi,
>
> > I would like to know what is going on with my app and Android system
> > when the onCreate() method in Application class doesn't finish.
>
> > In  onCreate() of the MyApplication extends Application class I have:
>
> > super.onCreate()
> > //do sth 1
> > log("1")
> > //do sth 2
> > log("2")
> > ...
>
> > Usually when Android is creating the application I see 1 , 2 in my log
> > entries. However a few users have an issue that for 2 days Android is
> > keeping on restarting the app a few times, and always there is only
> > "1" in the log.
> > So the onCreate method hasn't finished.
>
> > 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? How can I do sth. with this - at least catch
> > and log such an event in a precise and sure way.
>
> > Thanks for any help,
> > Tomasz Bartczak
> > Automatic Sleep Log.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate