Ejemplo n.º 1
0
 public Manager(AndroidApplicationContext applicationContext, IGlobalEventsController events, String host, String userName, String password, String deviceId)
 {
     _applicationContext = applicationContext;
     _events = events;
     _host = host;
     _userName = userName;
     _password = password;
     _deviceId = deviceId;
 }
Ejemplo n.º 2
0
 public CameraProvider(BaseScreen activity, AndroidApplicationContext context)
     : base(activity, context)
 {
 }
Ejemplo n.º 3
0
 public ExceptionHandler(Settings settings, BaseScreen screen, AndroidApplicationContext context)
 {
     _settings = settings;
     _screen = screen;
     _context = context;
 }
 public static Manager CreateInstance(AndroidApplicationContext context, IGlobalEventsController events
     , string host, string userName, string password, string deviceId)
 {
     return _manager ?? (_manager = new Manager(context, events, host, userName, password, deviceId));
 }
Ejemplo n.º 5
0
 public GalleryProvider(BaseScreen activity, AndroidApplicationContext context)
 {
     Activity = activity;
     _context = context;
 }
Ejemplo n.º 6
0
        void StartApplication(Settings settings)
        {
            Settings = settings;

            Settings.ReadSettings();
            Settings.WriteSettings();

            _logonScreen = new LogonScreen(BaseActivity, Settings, LoadApplication);
            _progressScreen = new ProgressScreen(BaseActivity, Settings);

            AppContext = new AndroidApplicationContext(BaseActivity, Settings, LoadComplete);
            AppContext.LoadingProgress += _progressScreen.Progress;
            AppContext.ReturnToStartMenu += OpenStartScreen;

            ExceptionHandler = new ExceptionHandler(Settings, BaseActivity, AppContext);
            HandleLastError();
        }