How can you pass several integer values to an activity which you start from your current activity?
Question 2
How can you pass several integer values to an activity which you start from your current activity?
1 point
It is impossible.
You use a single call to the putExtra method which accepts an array of integers.
You use successive calls to the putExtra method, providing a different <key, integer value> set at each call.
You can save the integer values in a preferences file in the onStop method of the first activity and read this file in the onCreate method of the second activity.