{"action":"created","issue":{"url":"https://api.github.com/repos/mtsahakis/MediaProjectionDemo/issues/1","labels_url":"https://api.github.com/repos/mtsahakis/MediaProjectionDemo/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mtsahakis/MediaProjectionDemo/issues/1/comments","events_url":"https://api.github.com/repos/mtsahakis/MediaProjectionDemo/issues/1/events","html_url":"https://github.com/mtsahakis/MediaProjectionDemo/issues/1","id":52105339,"number":1,"title":"No JPEG header detected","user":{"login":"alessandroRoaro","id":3339135,"avatar_url":"https://avatars.githubusercontent.com/u/3339135?v=3","gravatar_id":"","url":"https://api.github.com/users/alessandroRoaro","html_url":"https://github.com/alessandroRoaro","followers_url":"https://api.github.com/users/alessandroRoaro/followers","following_url":"https://api.github.com/users/alessandroRoaro/following{/other_user}","gists_url":"https://api.github.com/users/alessandroRoaro/gists{/gist_id}","starred_url":"https://api.github.com/users/alessandroRoaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alessandroRoaro/subscriptions","organizations_url":"https://api.github.com/users/alessandroRoaro/orgs","repos_url":"https://api.github.com/users/alessandroRoaro/repos","events_url":"https://api.github.com/users/alessandroRoaro/events{/privacy}","received_events_url":"https://api.github.com/users/alessandroRoaro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-16T12:10:41Z","updated_at":"2015-02-09T10:52:34Z","closed_at":null,"body":"Thanks for sharing your code.\r\n\r\nI tested the app on a Nexus 9 and on a Genymotion emulator (both with API 21) and I wasn't able to retrieve a valid image. I kept getting these logs:\r\n\r\nImageReader_imageSetup: Receiving JPEG in HAL_PIXEL_FORMAT_RGBA_8888 buffer.\r\nImage_getJpegSize: No JPEG header detected, defaulting to size=width=11993088\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mtsahakis/MediaProjectionDemo/issues/comments/73489877","html_url":"https://github.com/mtsahakis/MediaProjectionDemo/issues/1#issuecomment-73489877","issue_url":"https://api.github.com/repos/mtsahakis/MediaProjectionDemo/issues/1","id":73489877,"user":{"login":"alessandroRoaro","id":3339135,"avatar_url":"https://avatars.githubusercontent.com/u/3339135?v=3","gravatar_id":"","url":"https://api.github.com/users/alessandroRoaro","html_url":"https://github.com/alessandroRoaro","followers_url":"https://api.github.com/users/alessandroRoaro/followers","following_url":"https://api.github.com/users/alessandroRoaro/following{/other_user}","gists_url":"https://api.github.com/users/alessandroRoaro/gists{/gist_id}","starred_url":"https://api.github.com/users/alessandroRoaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alessandroRoaro/subscriptions","organizations_url":"https://api.github.com/users/alessandroRoaro/orgs","repos_url":"https://api.github.com/users/alessandroRoaro/repos","events_url":"https://api.github.com/users/alessandroRoaro/events{/privacy}","received_events_url":"https://api.github.com/users/alessandroRoaro/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T10:52:34Z","updated_at":"2015-02-09T10:52:34Z","body":"Yes now it's working, apparently changing the image format to PixelFormat.RGBA_8888 solved the problem"}}