startActivity and intercept intent extras
I'm considering to do the following for log in a user:
Intent intent= new Intent(this,DoLoginActivity.class); intent.putExtra("login",mLogin); intent.putExtra("password",mPassword); startActivity(intent);
Is that secure, or other apps can easily listen/read the intent parameters?
Your current approach is secure, no other app can listen or read these values.
You are using Explicit intent [you actually specify the activity that is required to respond to the intent] and that is listen by only that class which is declared in Intent. So this is Secure.