Beispiel #1
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();
        }
		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 ();

		}
		public ApplicationContext (NavigationController controller, BitMobile.Application.ApplicationSettings settings, CustomExceptionHandler exceptionHandler)
		{
			GlobalVariables = new Dictionary<string, object> ();

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

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

			var builder = new SolutionBuilder (this);
			builder.Build ();

			StyleSheetContext.Current.Scale = UIScreen.MainScreen.Scale;
		}
Beispiel #4
0
        public ApplicationContext(NavigationController controller, BitMobile.Application.ApplicationSettings settings, CustomExceptionHandler exceptionHandler)
        {
            GlobalVariables = new Dictionary <string, object> ();

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

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

            var builder = new SolutionBuilder(this);

            builder.Build();

            StyleSheetContext.Current.Scale = UIScreen.MainScreen.Scale;
        }
Beispiel #5
0
 public LocationManagerDelegate(GPSProvider manager)
 {
     _manager = manager;
 }
Beispiel #6
0
		public LocationManagerDelegate (GPSProvider manager)
		{
			_manager = manager;
		}