[Mono-bugs] [Bug 639030] New: On a Galaxy S (Samsung Vibrant) cached runtime is lost
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Sep 13 16:12:29 EDT 2010
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: mono-bugs at lists.ximian.com
ReportedBy: Novell-Bugzilla at bobf.frankston.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list