public override PackageManager getPackageManager () { if (mPackageManager != null) return mPackageManager; mPackageManager = new XobotPackageManager (this); return mPackageManager; }
static void Initialize () { main_form = new SWF.Form (); main_form.FormBorderStyle = SWF.FormBorderStyle.FixedSingle; main_form.MaximizeBox = false; main_form.MinimizeBox = false; main_form.ClientSize = device_config.Size; main_form.Name = "XobotOS"; main_form.Text = "XobotOS"; control = new XobotControl (); system_thread = ActivityThread.systemMain (); ContextImpl context = system_thread.getSystemContext (); package_manager = (XobotPackageManager)context.getPackageManager (); }
static void Initialize() { main_form = new SWF.Form(); main_form.FormBorderStyle = SWF.FormBorderStyle.FixedSingle; main_form.MaximizeBox = false; main_form.MinimizeBox = false; main_form.ClientSize = device_config.Size; main_form.Name = "XobotOS"; main_form.Text = "XobotOS"; control = new XobotControl(); system_thread = ActivityThread.systemMain(); ContextImpl context = system_thread.getSystemContext(); package_manager = (XobotPackageManager)context.getPackageManager(); }