You are setting the extra with an array. You are then trying to get a single int.
Your code should be:
int[] arrayB = extras.getIntArray("numbers");
More Related Contents:
- How to pass an object from one activity to another on Android
- Maximum length of Intent putExtra method? (Force close)
- How do you use Intent.FLAG_ACTIVITY_CLEAR_TOP to clear the Activity Stack?
- How to resume Android Activity programmatically from background
- Android “single top” launch mode and onNewIntent method
- Passing ArrayList of string arrays from one activity to another in android
- Creating new Android (Java ) file in Existing Android package [closed]
- Android with Intent and Custom Listview
- Start another activity with button
- How to launch an Activity from another Application in Android
- Launching Google Maps Directions via an intent on Android
- Read a pdf file from assets folder
- Finish all previous activities
- How to use interface to communicate between two activities
- How to select and crop an image in android?
- How to start Activity in adapter?
- Android Unable to instantiate activity: Didn’t find class on path
- How can I start a new android activity using class name in a string?
- DeadObjectException on android app
- Internet listener Android example
- How to create Button Dynamically in android?
- FileUriExposedException in Android [duplicate]
- Android: Unable to find explicit activity class… startActivity from a PreferenceActivity
- Intent.putExtras size limit?
- How to navigate from one screen to another screen
- What’s the difference between this and Activity.this
- how to programatically theme an activity to be like a dialog?
- Pass Serializable Object to Pending Intent
- IllegalArgumentException: Unknown URL content:// CONTENT
- Android: Navigation-Drawer on all activities