https://bugzilla.novell.com/show_bug.cgi?id=639030
https://bugzilla.novell.com/show_bug.cgi?id=639030#c0 Summary: On a Galaxy S (Samsung Vibrant) cached runtime is lost Classification: Mono Product: MonoDroid Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Runtime AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- On a Galaxy S (Samsung Vibrant) I run essentially the null app and it can take a minute to start every time. It seems as if the cached runtime has to be generated each time. I use a divide by zero to force close to assure the app restarts instead of resuming. namespace MDA1 { public class Activity1 : Activity { int count = 1; public Activity1(IntPtr handle) : base(handle) { } protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(R.layout.main); // Get our button from the layout resource, // and attach an event to it var button = FindViewById<Button>(R.id.myButton); button.Text = string.Format("Hello {0:ddd HH:mm:ss.fff}", DateTime.Now); button.Click += (s, o) => button.Text = string.Format("{0} Click away!", count++); var dib = FindViewById<Button>(R.id.dieButton); dib.Text = string.Format("Kill Me {0:ddd HH:mm:ss.fff}", DateTime.Now); var a = 0; dib.Click += delegate { a = 1 / a; }; } } } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
