android broadcast receiver get intent extras code example
Example 1: activity get extras
String id = intent.getStringExtra("id");
String name = intent.getStringExtra("name");
Example 2: activity get extras
Intent intent = getIntent();
String id = intent.getStringExtra("id");
String name = intent.getStringExtra("name");
Intent intent = getIntent();