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?

Answers


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.


Need Your Help

SQL if statement in where clause for searching database

sql-server tsql stored-procedures filtering if-statement

I'm creating a stored procedure to return search results where some of the parameters are optional.

Basic Python Script If Statment

python if-statement

I am messing around with this basic Magic 8 Ball program and im trying to make it only aloww yes or no questions I am thinking that it will only except questions that have the first word "will" or...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.