Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

I have some data classes for my Android app, and would like to play around with them in a scratch file (or something similar). As long as they don't use the Android Platform API, I can use them in a ...
Dan Getz's user avatar
  • 9,232
0 votes
1 answer
100 views

I am trying to send a timestamp to another activity using intent.putExtra("timeStamp", timeStamp) however on some versions of android (it seems to be older versions in general) I get the ...
Para1life's user avatar
0 votes
2 answers
34 views

I am working on a flutter project that integrate RFID android pistol device to the application. Using pigeon to communicate to native android api. While debuging android studio at RFID device I ca ...
S. Aziz Kazdal's user avatar
0 votes
1 answer
170 views

I have 3 classes @Parcelize open class Parent():Parcelable data class Child1():Parent data class Child2():Parent I want to pass data from one activity to another in container class which is class ...
Cembora's user avatar
  • 346
0 votes
1 answer
395 views

Here is my class: public class OutstandingContact implements Parcelable { public String phoneNumber; public String gstIn; public String cin; public String email; public String ...
Ankur's user avatar
  • 759
0 votes
1 answer
238 views

I'm trying to serialize an android.print.PrinterInfo object to JSON using Gson (version 2.9.0): val type: Class<*> = data.javaClass json.beginObject() json.name(type.name) json.value(gson.toJson(...
Gábor's user avatar
  • 10.4k
0 votes
1 answer
180 views

when i use kotlin-parcelize in my application,after i build my project ,i get a error : can't find symbol readFromParcel. this is my BtDevice kotlin file : import android.os.Parcelable ...
NaughtyChild's user avatar
0 votes
0 answers
26 views

I'm a Android Coder,The version of ObjectBox I was using was 3.1.2, and I couldn't make the entity class implement the Parcelable interface. If I did, I would get an error at run time ==> [class ...
dengjie zhang's user avatar
17 votes
1 answer
4k views

I'm facing this crash on Android 13 at following code. Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference ...
Sohaib Ahmed's user avatar
  • 3,179
0 votes
1 answer
252 views

I was told that it is possible to create a deep copy of an object by writing the object to a parcel, then immediately reading it out again. So far, I have tried creating a Parcel and writing the ...
Gil Ong's user avatar
  • 99
6 votes
2 answers
2k views

I recently updated to AGP 8 and I released an update on to the play store. I am getting reports of some crashes in an area of code that was not changed recently. I am fairly confident this is a crash ...
idunnololz's user avatar
  • 8,463
0 votes
1 answer
294 views

I'm trying to migrate from kotlinx.android.parcel.Parcelize to kotlinx.parcelize.Parcelize but I'm getting following issue while doing so: Supertypes of the following classes cannot be resolved. ...
David's user avatar
  • 4,889
0 votes
1 answer
57 views

I am working on an android project and I've been trying to use Firebase Firestore collections. Everything seems fine up until the second activity retrieving the intent with the parsed list of watches. ...
Nour's user avatar
  • 1
2 votes
4 answers
6k views

I want to use intent method for get uri from another activity, but intent.getParcelableExtra is deprecated.if I use if (SDK_INT >= 33) { intent.getParcelableExtra("EXTRA_URI&...
terlan abaszade's user avatar
0 votes
1 answer
126 views

I must send an Object value to other Activity, so I found the way to using Parcelable Object. but this is the problem. The problem is not parcelable object can not be add Parcelable object. import ...
lupin218's user avatar
0 votes
2 answers
4k views

I am following https://developer.android.com/jetpack/compose/state#parcelize to make a Parcelable data class with Kotlin in Jetpack Compose, however the @Parcelize annotation is not available to be ...
stan372's user avatar
0 votes
0 answers
436 views

I've been using Serializable for a while now in Android to pass data between 2 Activities. However, I recently read about Parcelable. Do they work in the same way and which is the best/efficient way ...
Amey079's user avatar
  • 141
0 votes
1 answer
744 views

I try to ignore a field when using the @Parcelize annotation in Kotlin so I am using @IgnoredOnParcel, Plz guide me, on how to solve this error error: Cannot figure out how to save this field into ...
Bolt UIX's user avatar
  • 7,182
-1 votes
2 answers
760 views

Since getParcelable is deprecated for Android Tiramisu and later i want to make an extension function to get the parcelables from my Intent through my Bundle So i have val server = if (...
james04's user avatar
  • 1,968
1 vote
0 answers
60 views

I'm using an Android IBinder interface to read data from a service. My specific case dictates that I don't know exactly what object I'll be receiving from that service (due to versioning and server ...
FunkSoulBrother's user avatar
0 votes
2 answers
212 views

Parcelable error occurred while using the Room. I'm studying Room, but I don't have much common sense yet. So I don't know why I use Parcelable. I think there was an error when changing the format of ...
stev3j's user avatar
  • 31
0 votes
1 answer
230 views

I am trying to pass this custom list object to the broadcast receiver. For that i am passing it like this: Inside activity: intent.putParcelableArrayListExtra(PARCEL_LIST_GEO, parcelItems.toArrayList()...
Meyben's user avatar
  • 621
1 vote
1 answer
987 views

Reaching to ask for your help on this one. I'm getting the error: java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = java.util.ArrayList) I'm already ...
Nelson Lopes's user avatar
0 votes
0 answers
125 views

I'm facing following Errors/Exceptions when receiving data from one App to another App in Kotlin (Android): Class Not Found When Unmarshalling: com.example.Parcelable.User mExtras=Bundle[{)}] ...
Ahmer Iqbal's user avatar
0 votes
1 answer
491 views

We had a RuntimeException while we put a safeArgs into the navigation graph and this crash didn't give us any more guide to fix it. In the first impression, we were following this to ensure that those ...
Majid Khosravi's user avatar

1
2 3 4 5
34