Ejemplo n.º 1
0
		private void InitApplication ()
		{
			_settings = new Settings ();
			_settings.ReadSettings ();

			D.Init (_settings.Language);

			_exceptionHandler = new ExceptionHandler (_settings, this);

			HandleLastError (StartApplication);
		}
Ejemplo n.º 2
0
		public ApplicationContext (NavigationController controller, BitMobile.Application.ApplicationSettings settings, CustomExceptionHandler exceptionHandler)
		{
			GlobalVariables = new Dictionary<string, object> ();

			BitMobile.Application.ApplicationContext.InitContext (this);

			this.Settings = settings;
			this._controller = controller;
			this._exceptionHandler = exceptionHandler;

			LocationProvider = new GPSProvider ();
			LocationTracker = new GPSTracker ();
			GalleryProvider = new GalleryProvider (controller, this);
			CameraProvider = new CameraProvider (controller, this);
			DialogProvider = new DialogProvider (this);
			ClipboardProvider = new ClipboardProvider ();

		}
Ejemplo n.º 3
0
 public ValueStack(CustomExceptionHandler handler)
 {
     _exceptionHandler = handler;
     Persistables = new Dictionary<string, IPersistable>();
 }