Ui.pushView(new Ui.Menu(), new ViewBehaviorDelegate(), Ui.SLIDE_UP);
I haven't yet figured out what the problem with this is. The
ViewBehaviorDelegate
class used here is a pretty standard implementation that is used with other views with no problems. This code can be executed when large amounts ~30k of memory is left on the device - no out of memory is sent to the console, the simulator app simply crashes.