I'm trying to start a new activity when a listitem is clicked. I've seen that this error occurs because the classes used in putExtra() do not implement the necessary interfaces (Serializable, etc). ...

I have the following code which produces the error: Error:Parceler: Unable to find read/write generator for type io.realm.Realm for io.realm.RealmObject.realm
It was working all fine without extends ...

I have just started helping out with an exisitng Android project and would like to have as many classes as possible in a "pure" Java module to write jUnit tests against.
However, there are a ton of ...

I haven't understood how to create the code needed to implement correctly the Parcelable for an object that contains GregorianCalendar objects.
E.g. for an object User that contains String name; and ...

I want to communicate with an APP in android device using socket. We will send and receive many parcel objects. App will get some system information and it will be easier using parcel. So I have to do ...

i download this example from the net and i want modify to sent a Obj student from a service to activity already run.
This is the code, the communication from service to activity it's work fine, but ...

Would be someone able to tell me how such a simple code can throw "RuntimeException: bad array lengths" on line "in.readLongArray(longArray);", extremely rare, I was never able to reproduce it but saw ...

I'd like to write a Float so that I can set it's value to null... any ideas?
My only idea now is to write a negative value if the Float is null, then when reading the parcel handle the negative value ...

I'm trying to implement my custom classes as parcelable and I'm having a problem reading/writing a list of these classes from the parcel. I have 3 classes, Quiz, Question and Answer.
It is giving me ...

My apk built by gradle has a problem ,but built by eclipse does not have.But it dose not happen to every body. I didn't meet this problem. But some of my users met this problem.
you can see the line :
...

I have an Intent to share a image from an view. It works, but once I canceled it to upload it on Instagram and I received an exception.
Google didn't help...
Intent
if(!getStringName().equals(" ")) ...

Why there's no writeStringArray() in cpp implementation?
I found there's writeStringArray() in java but not in cpp.
Of course I can simply write one refer to the java code, just wondering why Android ...

I have ten strings: str1, str2, str3...,str10 (not actual string names). Do I have to do dest.writeString(str_n) for all 10 strings or is there an easier way to do this? How would I read them back in?
...

I'm having trouble with reading an ArrayList of Strings with a class that implements Parcelable.
I want to send 3 ArrayLists of Strings to a Fragment. Another thing I don't understand is how I'd use ...

Situation
My usage for Parcel is to save the following:
The list data which can be pulled from the network anytime (More specifically, twitter timeline)
The scroll position of the list
UI elements' ...

After passing a parcel between activities accessing one of the object members thats ment to hold a simple string that comes from the content of a textview ends up containing The fallowing:
" [ 04-11 ...

I am implementing Parcelable in order to transmit some simple data throughout an Intent.
However, There is one method in the Parcelable interface that I don't understand at all : newArray().
It does ...

I have an external Java library with a lot of common objects (i.e. User with name, surname, address...). The thing that i want to build up is a (de)serializer class that transforms all my objects into ...

i have class student
i tried to use seriablizable but couldnt make it work... this didnt work too can any one find whats wrong with it?
that uses class semester and Course in its variables take a look
...

I have an InputStream (serialized bytes) containing marshalled Parcels with Parcelables inside them. I need to unmarshall and inflate the Parcel back up again so I can retrieve the Parcelable. How can ...