Ok This makes sense. I've focused the issue down to whether or not I call putExtra on the Intent I'm launching. Why would the contents putExtra cause this kind of error? The value of the extra is a String, and rather large JSON value at that which does contain binary data. Is the size of the JSON string the problem? Packing up the JSON is just fine, but the next activity never even gets the chance to unpack it as onCreate is never called.
On Apr 13, 2:39 pm, Kostya Vasilyev <[email protected]> wrote: > 14.04.2012 1:32, Deepwinter ???????: > > > However when I launch the activity later in the program (where it > > should be launched), I just get a black screen. I get no android > > runtime errors, and onCreate on the new activity is never called. All > > I get in ADB is 'Wrote stack trace to '/data/anr/traces.txt'' and then > > nothing else from the app. I used adb pull to get at the/data/anr/ > > traces.txt but find no reference to any exceptions in that file. > > Since it's an ANR rather than a crash, you shouldn't be seeing > exceptions in there. > > > > > How can I debug this problem, or what could be the cause? > > The cause is something taking too long on your application's UI thread. > > To debug, recreate the issue, switch to Debug perspective in Eclipse, > select your application's UI thread, and press Pause button (top-right) > to enter the debugger. > > Then inspect what the UI thread is doing. > > -- > Kostya Vasilyev -- 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

