{"id":460,"date":"2012-03-18T02:40:36","date_gmt":"2012-03-18T09:40:36","guid":{"rendered":"http:\/\/zsprawl.com\/iOS\/?p=460"},"modified":"2012-03-18T02:40:36","modified_gmt":"2012-03-18T09:40:36","slug":"using-the-camera-flash-led-in-phonegap","status":"publish","type":"post","link":"http:\/\/zsprawl.com\/iOS\/2012\/03\/using-the-camera-flash-led-in-phonegap\/","title":{"rendered":"Using the Camera Flash LED in PhoneGap"},"content":{"rendered":"<p>I looked for a very long time on how to access the iPhone&#8217;s camera LED flash to use as a flashlight. It took a while, but finally I came across the <a href=\"https:\/\/github.com\/phonegap\/phonegap-plugins\/tree\/master\/iPhone\/Torch\">PhoneGap plugin called Torch<\/a>. Really, the problem was I was just searching for the wrong terms in Google. Who would have guessed it was called Torch?!<\/p>\n<p>Anyhow, Torch is loaded like any other PhoneGap plugin, and was one the easiest to setup once I figured out where it was.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I looked for a very long time on how to access the iPhone&#8217;s camera LED flash to use as a flashlight. It took a while, but finally I came across the PhoneGap plugin called Torch. Really, the problem was I was just searching for the wrong terms in Google. Who would have guessed it was <a href=\"http:\/\/zsprawl.com\/iOS\/2012\/03\/using-the-camera-flash-led-in-phonegap\/#more-'\" class=\"more-link\"><br \/>more \u00bb<\/a><\/p>\n","protected":false},"author":318,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,19,3],"tags":[9,30,6],"class_list":["post-460","post","type-post","status-publish","format-standard","hentry","category-blog","category-camera","category-ios-development","tag-development","tag-flashlight","tag-iphone"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/posts\/460"}],"collection":[{"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/users\/318"}],"replies":[{"embeddable":true,"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/comments?post=460"}],"version-history":[{"count":2,"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/posts\/460\/revisions"}],"predecessor-version":[{"id":462,"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/posts\/460\/revisions\/462"}],"wp:attachment":[{"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/media?parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/categories?post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zsprawl.com\/iOS\/wp-json\/wp\/v2\/tags?post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}