Thursday, January 17, 2013

problem with jelly beans for parsing intent getStringExtra parameter

If I am using below example code for String value from intent in jelly beans.It gives me null value

Ex:   notification_type =  intent.getStringExtra("notification_type");


If I am using below example code for String value from intent in jelly beans.It gives me string value

Ex:     Bundle extras = intent.getExtras();
notification_type =extras.getString("notification_type");



No comments:

Post a Comment