Add .ToString()
to myIntent.putExtra("selection", select);
so that it is myIntent.putExtra("selection", select.ToString());
More Related Contents:
- Why I am getting this error "Caused by: java.lang.ArithmeticException: divide by zero"?
- Call a method with parameters in java
- Alarm Manager Example
- Android 6.0 multiple permissions
- JSON Array iteration in Android/Java
- Manifest merger failed : Attribute application@appComponentFactory cant solve this
- How to parse json parsing Using GSON in android
- Sending a JSON HTTP POST request from Android
- HTTPS GET (SSL) with Android and self-signed server certificate
- How to Check available space on android device ? on SD card? [duplicate]
- Elegant way to read file into byte[] array in Java [duplicate]
- Is it not possible to have a code in the background who will be called every 24h? [closed]
- onClick event is not triggering | Android
- Detecting state changes made to the BluetoothAdapter?
- AlertDialog with custom view: Resize to wrap the view’s content
- How to save an image in Android Q using MediaStore?
- android.app.Application cannot be cast to android.app.Activity
- Curly braces in “new” expression? (e.g. “new MyClass() { … }”)
- ConnectionTimeout versus SocketTimeout
- Return data from AsyncTask class
- Does proguard work to obfuscate static string constants?
- SQLiteOpenHelper failing to call onCreate?
- Pixel-Perfect Collision Detection Android
- How do I iterate through the id properties of R.java class?
- Android: detect brightness (amount of light) in phone’s surroundings using the camera?
- How to pass data from Recyclerview to Fragment
- Can I store image files in firebase using Java API
- HttpURLConnection setConnectTimeout() has no effect
- How To Test If Cursor Is Empty in a SQLiteDatabase Query
- Gradle – download dependencies, lock versions and update dependencies manually