How can I transfer some value between activities in Android

If you use

intent.putExtra(PLAYER_NO, 2);

you should call following code to get values (without using “Bundle”):

getIntent().getIntExtra(PLAYER_NO, -1)

Browse More Popular Posts

Leave a Comment