Default value for getStringExtra() if empty
According to http://developer.android.com/reference/android/content/Intent.html, no.
The reason getIntExtra has a default value parameter, it is because the type returned is a primitive and therefore can't return null.
We cannot check if it is empty, but we can check it by comparing it with null.
str = intent.getStringExtra("key");
if(str == null){
str = "DEFAULT STRING";//Assign default string
}