{"id":2065,"date":"2017-07-06T15:34:00","date_gmt":"2017-07-06T05:34:00","guid":{"rendered":"http:\/\/www.malcolmgroves.com\/blog\/?p=2065"},"modified":"2017-07-06T15:34:00","modified_gmt":"2017-07-06T05:34:00","slug":"logging-in-android","status":"publish","type":"post","link":"http:\/\/www.malcolmgroves.com\/blog\/?p=2065","title":{"rendered":"Logging in Android"},"content":{"rendered":"<p>From the Code Partners blog:<\/p>\n<p style=\"padding-left: 30px;\"><em>RAD Studio\u2019s ability to do remote debugging of Android apps on device is fantastic for tracking down issues. However sometimes you have issues where the debugger can\u2019t help. Case in point is one of the projects we were doing for a customer recently. The Android portion included a Service, which needed to be auto-started when the Android device booted. It worked fine if it was started manually, but auto-starting at boot resulted in a \u00a0crash. We couldn\u2019t use the RAD Studio debugger as it was all over so quickly at boot time.\u00a0Fortunately we were already logging messages out to the Android logs from within our app, so we were able to track down the problem. How?<\/em><\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.code-partners.com\/logging-in-android\/\" target=\"_blank\" rel=\"noopener noreferrer\">Read more&#8230;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>From the Code Partners blog: RAD Studio\u2019s ability to do remote debugging of Android apps on device is fantastic for tracking down issues. However sometimes you have issues where the debugger can\u2019t help. Case in point is one of the projects we were doing for a customer recently. The Android portion included a Service, which [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121,120,118],"tags":[48],"class_list":["post-2065","post","type-post","status-publish","format-standard","hentry","category-android","category-firemonkey","category-mobile","tag-embarcadero"],"_links":{"self":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2065"}],"version-history":[{"count":1,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2065\/revisions"}],"predecessor-version":[{"id":2066,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2065\/revisions\/2066"}],"wp:attachment":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2065"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}