{"action":"created","issue":{"url":"https://api.github.com/repos/dji-sdk/Mobile-SDK-Android/issues/143","repository_url":"https://api.github.com/repos/dji-sdk/Mobile-SDK-Android","labels_url":"https://api.github.com/repos/dji-sdk/Mobile-SDK-Android/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/dji-sdk/Mobile-SDK-Android/issues/143/comments","events_url":"https://api.github.com/repos/dji-sdk/Mobile-SDK-Android/issues/143/events","html_url":"https://github.com/dji-sdk/Mobile-SDK-Android/issues/143","id":245144515,"number":143,"title":"fetchFileData doesn't work with MediaFile result from setMediaFileCallback","user":{"login":"kwong93","id":9687105,"avatar_url":"https://avatars0.githubusercontent.com/u/9687105?v=4","gravatar_id":"","url":"https://api.github.com/users/kwong93","html_url":"https://github.com/kwong93","followers_url":"https://api.github.com/users/kwong93/followers","following_url":"https://api.github.com/users/kwong93/following{/other_user}","gists_url":"https://api.github.com/users/kwong93/gists{/gist_id}","starred_url":"https://api.github.com/users/kwong93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwong93/subscriptions","organizations_url":"https://api.github.com/users/kwong93/orgs","repos_url":"https://api.github.com/users/kwong93/repos","events_url":"https://api.github.com/users/kwong93/events{/privacy}","received_events_url":"https://api.github.com/users/kwong93/received_events","type":"User","site_admin":false},"labels":[{"id":264159280,"url":"https://api.github.com/repos/dji-sdk/Mobile-SDK-Android/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-24T16:58:24Z","updated_at":"2018-04-03T07:18:47Z","closed_at":null,"author_association":"NONE","body":"-  Description of the issue.\r\nI want to immediately download the photo to my phone when taking picture.  When setting the media file callback using `setMediaFileCallback`, I can get the `MediaFile `of the newest photo taken, but calling `fetchFileData `does not download it to my mobile device. Nothing logs with the callback methods such as `onSuccess `and `onFailure `and `onProgress`.\r\n-  Steps to reproduce the bug or crash issues(It would be great if you can provide this)\r\n1. set callback to camera using `setMediaFileCallback`\r\n2. When photo taken, call `fetchFileData `on the `MediaFile `result from `onNewFile`\r\n-  DJI Android SDK version you are using (Like Android SDK 3.4, etc)\r\n4.2.1\r\n-  DJI Product you are using (Like Phantom 4, Mavic Pro, etc)\r\nPhantom 4 Pro\r\n-  Android system version you are using (Like Android 6.0.1, Android 5.1.1, etc)\r\nAndroid 6.0.1\r\n-  Android device you are using (Like Samsung Galaxy Note 5, Nexus 5, etc)\r\nSamsung Galaxy S7\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dji-sdk/Mobile-SDK-Android/issues/comments/378152585","html_url":"https://github.com/dji-sdk/Mobile-SDK-Android/issues/143#issuecomment-378152585","issue_url":"https://api.github.com/repos/dji-sdk/Mobile-SDK-Android/issues/143","id":378152585,"user":{"login":"kjknair","id":12934264,"avatar_url":"https://avatars3.githubusercontent.com/u/12934264?v=4","gravatar_id":"","url":"https://api.github.com/users/kjknair","html_url":"https://github.com/kjknair","followers_url":"https://api.github.com/users/kjknair/followers","following_url":"https://api.github.com/users/kjknair/following{/other_user}","gists_url":"https://api.github.com/users/kjknair/gists{/gist_id}","starred_url":"https://api.github.com/users/kjknair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjknair/subscriptions","organizations_url":"https://api.github.com/users/kjknair/orgs","repos_url":"https://api.github.com/users/kjknair/repos","events_url":"https://api.github.com/users/kjknair/events{/privacy}","received_events_url":"https://api.github.com/users/kjknair/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T07:18:47Z","updated_at":"2018-04-03T07:18:47Z","author_association":"NONE","body":"`MediaFile#fetchCustomInformation` also doesnt seem to work. "}}
{"actor":{"display_login":"kjknair"}}