Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!
    0
  •   was successfully added to your cart.
  • Home
  • Buy proxies
  • Extra features
  • Help
  • Contact
  • Login
  • 50% OFF
    BUY NOW!
    50
    PROXIES
    $19
    --------------------
    BUY NOW!
    BUY NOW!
    BUY NOW!
    BUY NOW!
    BUY NOW!
    $29
    $49
    $109
    $179
    $299
    --------------------
    --------------------
    --------------------
    --------------------
    --------------------
    PROXIES
    PROXIES
    PROXIES
    PROXIES
    PROXIES
    100
    200
    500
    1,000
    2,000
    TOP SELLER
    BEST VALUE
    For All Private Proxies!

Utilizo firebase para el inicio de sesión de un usuario con email y contrasena, todo funciona bien, solo que necesito que al cerrar la app y volver a abrirla, la sesión siga abiera. Lei que podria utilizar SharedPreferences pero no encuentro una solución real a lo que quiero hacer. Esta es mi función para inicializar Firebase en mi aplicación

private void inicialize() {     firebaseAuth = FirebaseAuth.getInstance();     authStateListener = new FirebaseAuth.AuthStateListener() {         @Override         public void onAuthStateChanged(@NonNull FirebaseAuth firebaseAuth) {             FirebaseUser firebaseUser = firebaseAuth.getCurrentUser();             if (firebaseUser != null) {                 Log.w(TAG, "onAuthStateChanged - Logueado");              } else {                 Log.w(TAG, "onAuthStateChanged - Cerro sesion");             }         }     }; } 

Esta función la utiliza para hacer el inicio de sesión

  private void signIn(String email, String password) {     firebaseAuth.signInWithEmailAndPassword(email, password).addOnCompleteListener(this, new OnCompleteListener<AuthResult>() {         @Override         public void onComplete(@NonNull Task<AuthResult> task) {             if (task.isSuccessful()){                 Toast.makeText(LoginActivity.this, "Autenticacion correcta", Toast.LENGTH_SHORT).show();                 Intent intent = new Intent(LoginActivity.this, MainActivity.class);                 startActivity(intent);                 finish();             } else {                 Toast.makeText(LoginActivity.this, "Autenticacion incorrecta", Toast.LENGTH_SHORT).show();              }         }     }); } 

Y en el onCreate de LoginActivity utilizo un botón que se encarga de realizar la función del logueo

public void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_login);      etUsuario = (EditText) findViewById(R.id.etUsuario);     etPassword = (EditText) findViewById(R.id.etPassword);      Button btnIngresar = (Button) findViewById(R.id.btn_ingresar);     Button btnAbrirCrearCuenta = (Button) findViewById(R.id.btnAbrirCrearCuenta);      //Inicializamos firebase     inicialize();      //Al presionar Boton de Ingresar se ejecuta la funcion de Firebase     btnIngresar.setOnClickListener(new View.OnClickListener() {         @Override         public void onClick(View view) {              //Validamos los inputs             String email = etUsuario.getText().toString().trim();             String password = etPassword.getText().toString().trim();              if (TextUtils.isEmpty(email)) {                 Toast.makeText(LoginActivity.this, "Ingrese un usuario", Toast.LENGTH_SHORT).show();                 return;             }              if (TextUtils.isEmpty(password)) {                 Toast.makeText(LoginActivity.this, "Ingrese una contrasena", Toast.LENGTH_SHORT).show();                 return;             }              signIn(etUsuario.getText().toString(), etPassword.getText().toString());         }     }); 

Como podria guardar los datos del usuario logueado y que al abrir de nuevo la aplicacion (siempre y cuando no haya dado Cerrar Sesión), pueda abrir directamente mi MainActivity sin tener que introducir los datos de nuevo.

✓ Extra quality

ExtraProxies brings the best proxy quality for you with our private and reliable proxies

✓ Extra anonymity

Top level of anonymity and 100% safe proxies – this is what you get with every proxy package

✓ Extra speed

1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!

50 proxies

$19/month

50% DISCOUNT!
$0.38 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

100 proxies

$29/month

50% DISCOUNT!
$0.29 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

200 proxies

$49/month

50% DISCOUNT!
$0.25 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

500 proxies

$109/month

50% DISCOUNT!
$0.22 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

1,000 proxies

$179/month

50% DISCOUNT!
$0.18 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

2,000 proxies

$299/month

50% DISCOUNT!
$0.15 per proxy
✓ Private
✓ Elite
✓ Anonymous
Buy now

USA proxy location

We offer premium quality USA private proxies – the most essential proxies you can ever want from USA

100% anonymous

Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies

Unlimited bandwidth

Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!

Superfast speed

Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!

99,9% servers uptime

Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems

No usage restrictions

You have freedom to use your proxies with every software, browser or website you want without restrictions

Perfect for SEO

We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies

Big discounts

Buy more proxies and get better price – we offer various proxy packages with great deals and discounts

Premium support

We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!

Satisfaction guarantee

24/7 premium support, free proxy activation and 100% safe payments! Best reliability private proxies for your needs!

Best Proxy Packs

  • 2,000 Private Proxies $600.00 $299.00 / month
  • 1,000 Private Proxies $360.00 $179.00 / month

Quick Links

  • More information
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Like And Follow Us


Copyright ExtraProxies.com | All Rights Reserved.
  • Checkout
  • Contact
  • Help
  • Home
  • My Account
  • My Cart
  • News
  • Privacy Policy
  • Proxy features
  • Proxy packs
  • Terms and Conditions
Private Proxies – Buy Cheap Private Elite USA Proxy + 50% Discount!
    0 items