{"action":"created","issue":{"url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/7","repository_url":"https://api.github.com/repos/Cook-E-team/Cook-E","labels_url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/7/comments","events_url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/7/events","html_url":"https://github.com/Cook-E-team/Cook-E/issues/7","id":134187490,"number":7,"title":"Serializing large images fails","user":{"login":"samcrow","id":1839330,"avatar_url":"https://avatars.githubusercontent.com/u/1839330?v=3","gravatar_id":"","url":"https://api.github.com/users/samcrow","html_url":"https://github.com/samcrow","followers_url":"https://api.github.com/users/samcrow/followers","following_url":"https://api.github.com/users/samcrow/following{/other_user}","gists_url":"https://api.github.com/users/samcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/samcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samcrow/subscriptions","organizations_url":"https://api.github.com/users/samcrow/orgs","repos_url":"https://api.github.com/users/samcrow/repos","events_url":"https://api.github.com/users/samcrow/events{/privacy}","received_events_url":"https://api.github.com/users/samcrow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Cook-E-team/Cook-E/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"samcrow","id":1839330,"avatar_url":"https://avatars.githubusercontent.com/u/1839330?v=3","gravatar_id":"","url":"https://api.github.com/users/samcrow","html_url":"https://github.com/samcrow","followers_url":"https://api.github.com/users/samcrow/followers","following_url":"https://api.github.com/users/samcrow/following{/other_user}","gists_url":"https://api.github.com/users/samcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/samcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samcrow/subscriptions","organizations_url":"https://api.github.com/users/samcrow/orgs","repos_url":"https://api.github.com/users/samcrow/repos","events_url":"https://api.github.com/users/samcrow/events{/privacy}","received_events_url":"https://api.github.com/users/samcrow/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Cook-E-team/Cook-E/milestones/2","html_url":"https://github.com/Cook-E-team/Cook-E/milestones/Beta%20Release","labels_url":"https://api.github.com/repos/Cook-E-team/Cook-E/milestones/2/labels","id":1552556,"number":2,"title":"Beta Release","description":"https://courses.cs.washington.edu/courses/cse403/16wi/assignments/project5.html","creator":{"login":"samcrow","id":1839330,"avatar_url":"https://avatars.githubusercontent.com/u/1839330?v=3","gravatar_id":"","url":"https://api.github.com/users/samcrow","html_url":"https://github.com/samcrow","followers_url":"https://api.github.com/users/samcrow/followers","following_url":"https://api.github.com/users/samcrow/following{/other_user}","gists_url":"https://api.github.com/users/samcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/samcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samcrow/subscriptions","organizations_url":"https://api.github.com/users/samcrow/orgs","repos_url":"https://api.github.com/users/samcrow/repos","events_url":"https://api.github.com/users/samcrow/events{/privacy}","received_events_url":"https://api.github.com/users/samcrow/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-01-30T07:13:04Z","updated_at":"2016-02-17T05:57:40Z","due_on":"2016-02-19T08:00:00Z","closed_at":null},"comments":1,"created_at":"2016-02-17T05:57:40Z","updated_at":"2016-02-18T18:15:54Z","closed_at":null,"body":"When a list of Recipes is serialized into a Parcel, the current code (in branch `ui-group-c`) serializes each recipe image. This can create a very large Parcel. Moving the parcel around may fail with an `E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!` error.\r\n\r\nBased on [this information](https://stackoverflow.com/questions/3528735/failed-binder-transaction), the current code probably exceeds a parcel size limit. It needs a more efficient way to share images.\r\n\r\nOne way would be to store the images on the file system in the application cache directory, and pass around a URL or path to the files. To identify images correctly, the file name could be based on a hash of the image data."},"comment":{"url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/comments/185843086","html_url":"https://github.com/Cook-E-team/Cook-E/issues/7#issuecomment-185843086","issue_url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/7","id":185843086,"user":{"login":"samcrow","id":1839330,"avatar_url":"https://avatars.githubusercontent.com/u/1839330?v=3","gravatar_id":"","url":"https://api.github.com/users/samcrow","html_url":"https://github.com/samcrow","followers_url":"https://api.github.com/users/samcrow/followers","following_url":"https://api.github.com/users/samcrow/following{/other_user}","gists_url":"https://api.github.com/users/samcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/samcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samcrow/subscriptions","organizations_url":"https://api.github.com/users/samcrow/orgs","repos_url":"https://api.github.com/users/samcrow/repos","events_url":"https://api.github.com/users/samcrow/events{/privacy}","received_events_url":"https://api.github.com/users/samcrow/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T18:15:54Z","updated_at":"2016-02-18T18:15:54Z","body":"Work on an image caching mechanism has begun. It is not trivial. I have decided to defer image handling to the next release."}}