This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parcelable

 
Monica Salvador
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried using the Parcelable interface for all of my custom classes. But there are StackOverflow errors when I pass a bitmap/any of those parcelables through the intent. Here's a sample code for one of the classes.




The error that is showing in the LogCat is here:



I don't know what I did wrong. please help me.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you please post the stack trace here so we can get a better info?
 
Monica Salvador
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem's now solved. It had a StackOverflow because I was sending many images through an intent.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As an aside, it is not advisable to pass large Bitmaps in Intent extras. You will run into all sort of issues.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic