On Wed, Sep 16, 2009 at 3:27 PM, Felix Oghina <felix.ogh...@gmail.com> wrote:
>
> My application dies (application has stopped unexpectedly blah blah)
> on this line (in my onCreate function):
>
> requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
>
> I know it's on this line because if I put a Log.d() before it shows,
> if I put it after, it doesn't. Also, my app was working perfectly
> before this change. Any ideas about why it would not work and crash
> like that?

You don't need the Log.d to tell you where it crashes, since there
should be a full stack trace with linenumbers in the log already.
What else are you seeing in the log besides your Log.d ? My guess is
you're calling it too late (after setContentView), but that shows up
in the log I think, so you would have seen that.

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