{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-android/issues/86","labels_url":"https://api.github.com/repos/aws/aws-sdk-android/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-android/issues/86/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-android/issues/86/events","html_url":"https://github.com/aws/aws-sdk-android/issues/86","id":126773243,"number":86,"title":"Using TransferUtility in a background service in different process","user":{"login":"zhoul-HS","id":6669808,"avatar_url":"https://avatars.githubusercontent.com/u/6669808?v=3","gravatar_id":"","url":"https://api.github.com/users/zhoul-HS","html_url":"https://github.com/zhoul-HS","followers_url":"https://api.github.com/users/zhoul-HS/followers","following_url":"https://api.github.com/users/zhoul-HS/following{/other_user}","gists_url":"https://api.github.com/users/zhoul-HS/gists{/gist_id}","starred_url":"https://api.github.com/users/zhoul-HS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhoul-HS/subscriptions","organizations_url":"https://api.github.com/users/zhoul-HS/orgs","repos_url":"https://api.github.com/users/zhoul-HS/repos","events_url":"https://api.github.com/users/zhoul-HS/events{/privacy}","received_events_url":"https://api.github.com/users/zhoul-HS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-sdk-android/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T23:33:37Z","updated_at":"2016-01-14T23:53:18Z","closed_at":null,"body":"Opening a new issue as requested in #85 \r\n\r\nAs said, I've managed to get the TransferService to open on the same process as my background service, by adding `android:process=\":remote\"` to the manifest declaration:\r\n```xml\r\n        <service\r\n            android:name=\".MyService\"\r\n            android:process=\":remote\"\r\n            android:enabled=\"true\"\r\n            android:exported=\"false\"/>\r\n\r\n        <service\r\n            android:name=\"com.amazonaws.mobileconnectors.s3.transferutility.TransferService\"\r\n            android:process=\":remote\"\r\n            android:enabled=\"true\" />\r\n```\r\n\r\nNow for some reason, i'm getting this error:\r\n`java.lang.RuntimeException: Handler (android.os.Handler) {53730afc} sending message to a Handler on a dead thread`\r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-android/issues/comments/171820622","html_url":"https://github.com/aws/aws-sdk-android/issues/86#issuecomment-171820622","issue_url":"https://api.github.com/repos/aws/aws-sdk-android/issues/86","id":171820622,"user":{"login":"zhoul-HS","id":6669808,"avatar_url":"https://avatars.githubusercontent.com/u/6669808?v=3","gravatar_id":"","url":"https://api.github.com/users/zhoul-HS","html_url":"https://github.com/zhoul-HS","followers_url":"https://api.github.com/users/zhoul-HS/followers","following_url":"https://api.github.com/users/zhoul-HS/following{/other_user}","gists_url":"https://api.github.com/users/zhoul-HS/gists{/gist_id}","starred_url":"https://api.github.com/users/zhoul-HS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhoul-HS/subscriptions","organizations_url":"https://api.github.com/users/zhoul-HS/orgs","repos_url":"https://api.github.com/users/zhoul-HS/repos","events_url":"https://api.github.com/users/zhoul-HS/events{/privacy}","received_events_url":"https://api.github.com/users/zhoul-HS/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T23:53:18Z","updated_at":"2016-01-14T23:53:18Z","body":"stack trace:\r\n```\r\nW/MessageQueue: Handler (android.os.Handler) {5384e598} sending message to a Handler on a dead thread\r\n                                                                            java.lang.RuntimeException: Handler (android.os.Handler) {5384e598} sending message to a Handler on a dead thread\r\n                                                                                at android.os.MessageQueue.enqueueMessage(MessageQueue.java:294)\r\n                                                                                at android.os.Handler.sendMessageAtTime(Handler.java:473)\r\n                                                                                at android.os.Handler.sendMessageDelayed(Handler.java:446)\r\n                                                                                at com.amazonaws.mobileconnectors.s3.transferutility.TransferService.enqueueCheckTasksDoneLater(TransferService.java:189)\r\n                                                                                at com.amazonaws.mobileconnectors.s3.transferutility.TransferService.access$200(TransferService.java:44)\r\n                                                                                at com.amazonaws.mobileconnectors.s3.transferutility.TransferService$2.handleMessage(TransferService.java:166)\r\n                                                                                at android.os.Handler.dispatchMessage(Handler.java:95)\r\n                                                                                at android.os.Looper.loop(Looper.java:137)\r\n                                                                                at android.os.HandlerThread.run(HandlerThread.java:60)\r\n```\r\n\r\ndon't understand why..."}}