parcelable
Putting a Bitmap into a Bundle
I want to pass a String and a Bitmap to a Service using AIDL. The Service implements this AIDL method:[详细]
2023-04-12 19:01 分类:问答android: issue in parsing Parcelable object from service to activity using intent
I tried to pass the Order (see below for Order object details) object from Android Service (IntentService) to activity using android Intent, I tried in the following way:[详细]
2023-04-12 07:49 分类:问答AIDL parcel usage
I\'ve read Android Developer sites about Parcels and AIDL but I still have a question.Why can a Parcelable object be returned from an AIDL interface method but not passed as a p开发者_如何学Carameter[详细]
2023-04-10 01:50 分类:问答Make a custom java object Parcelable in Android
I am trying to send an object of type MyCustomObject to another activity via an intent. I know, to make the class Parcelable, I should do public class MyCustomObject implements Parcelable, but I am no[详细]
2023-04-08 18:19 分类:问答Create a copy of parcel object
I am using the parcel object to pass the value from one process to another. I want to create a clone of the parcel object but I am not able to use clone() method If anyone 开发者_如何学JAVAknows how t[详细]
2023-04-05 14:46 分类:问答Difficulty with unmarshalling in parcelable
Here is my code of writing to a parcel public void writeToParcel(Parcel dest, int flags) { dest.writeString(poiDescription);[详细]
2023-04-05 06:42 分类:问答How to use Parcel.readBooleanArray()?
I\'m trying to use the readB开发者_运维问答ooleanArray from android.os.Parcel, but readBooleanArray returns void and therefor it\'s unclear to me how to use this method.[详细]
2023-04-01 14:49 分类:问答Extending Parcelable to read another Parcelable
I have a class that extends Parcelable, we\'ll call it Class A. I have another class that extends Parcelable, we\'ll call it Class B.[详细]
2023-03-31 08:18 分类:问答Parcelable items disappearing when passing list of objects from service to activity via IPC
I\'m writing an android application that runs a non-local service in order to fetch data from the internet. I have an activity that binds to said service and retrieves a list of Order objects in order[详细]
2023-03-30 22:39 分类:问答Android: how to Parcel complex classes and their subclasses
Supose these simple classes: public class Class_A { // no fields } public class Class_B extends Class_A { public float field_1;[详细]
2023-03-30 00:27 分类:问答