HI,
i'm programming an android application using the StartActivityForResult() - Method. But, i want to get as result an own class, not a string or something like that. how can i tell the intent to use the class i wrote to give back?
HI,
i'm programming an android application using the StartActivityForResult() - Method. But, i want to get as result an own class, not a string or something like that. how can i tell the intent to use the class i wrote to give back?
You have to have your class implement Parcelable
or Serializable
. Also, this technique is only recommended for activities within the same application.
what is the normal way of doing it, if i don't want to use strings etc.. ?