protected override void OnCreate(Android.OS.Bundle savedInstanceState)
        {
            RequestWindowFeature(Android.Views.WindowFeatures.NoTitle);
            Window.SetFlags(WindowManagerFlags.Fullscreen, WindowManagerFlags.Fullscreen);

            base.OnCreate(savedInstanceState);

            SetContentView(Resource.Layout.VerificareCompatibilitate);

            Backgroud = FindViewById <RelativeLayout> (Resource.Id.relativeLayout1);
            iView     = FindViewById <ImageView> (Resource.Id.imageView1);

            ConMngr = (ConnectivityManager)GetSystemService(ConnectivityService);

            SwitchingBackgrounds();
            //RenderGif();

            CheckInternetThread = new Thread(new ThreadStart(() => {
                Thread.Sleep(1500);
                if (CheckInternetConnection().Equals(true))
                {
                    Thread.Sleep(1500);
                    if (CheckServerConnection().Equals(true))
                    {
                        Thread.Sleep(1500);

                        Intent StartLogin = new Intent(this, typeof(Login));

                        Background = Backgroud.Background;
                        StartLogin.PutExtra("BackgroundByteArray", DrawableConverter.DrawableToByteArray(Backgroud.Background));

                        SwitchingBackgroundsThread.Abort();

                        StartActivity(StartLogin);
                    }
                    else
                    {
                        /*	AlertDialog.Builder aDiag = new AlertDialog.Builder (this);
                         *      aDiag.SetTitle ("Error!");
                         *      aDiag.SetMessage ("Nu s-a putut realiza conexiunea cu serverul!");
                         *      aDiag.SetPositiveButton ("Skip", delegate(object sender, DialogClickEventArgs e) {*/
                        Intent StartLogin = new Intent(this, typeof(Login));


                        StartLogin.PutExtra("BackgroundLoginByteArray", DrawableList.IndexOf(Backgroud.Background));

                        SwitchingBackgroundsThread.Abort();
                        //    GifThread.Abort();

                        StartActivity(StartLogin);

                        /*});
                         *
                         * aDiag.SetNegativeButton ("Exit", delegate(object sender, DialogClickEventArgs e) {
                         *      RunOnUiThread (() => Toast.MakeText (this, "Couldn't reach the server!Please try again later!", ToastLength.Long).Show ());
                         *      Android.OS.Process.KillProcess (Android.OS.Process.MyPid ());
                         * });
                         *
                         * RunOnUiThread (() => aDiag.Show ());*/
                    }
                }
            }));
            CheckInternetThread.Start();
        }