{"id":499,"date":"2015-03-03T16:15:07","date_gmt":"2015-03-03T16:15:07","guid":{"rendered":"http:\/\/itp.fromjia.com\/?p=499"},"modified":"2015-03-05T02:49:08","modified_gmt":"2015-03-05T02:49:08","slug":"camera-action","status":"publish","type":"post","link":"http:\/\/itp.fromjia.com\/?p=499","title":{"rendered":"Camera! Action!"},"content":{"rendered":"<p>I finally started to work with Phonegap plugins. This week&#8217;s assignment was to create an application with the Phonegap camera plugin. I made a simple app that takes a photo when you press a button and mark your location on Google map. I also used the Phonegap geolocation plugin as well as the Google map API. For the button, I used jQuery Mobile. Other than that I didn&#8217;t do anything with the UI.<\/p>\n<p>My code is\u00a0here:\u00a0<a href=\"https:\/\/github.com\/OhJia\/myCameraApp\">https:\/\/github.com\/OhJia\/myCameraApp<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/inClassApp.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-507\" src=\"http:\/\/itp.fromjia.com\/wp-content\/uploads\/2015\/03\/inClassApp.gif\" alt=\"inClassApp\" width=\"300\" height=\"532\" \/><\/a><\/p>\n<p>It took me a while to learn the quirks of Phonegap and figure out my workflow for creating iOS apps. This includes creating new project, coding, testing, and debugging. I went through a bunch of\u00a0Phonegap and Xcode tutorials on Lynda.com, and found some great advice on <a href=\"http:\/\/www.tricedesigns.com\/2013\/01\/18\/my-workflow-for-developing-phonegap-applications\/\">this blog<\/a> and <a href=\"http:\/\/devgirl.org\/2013\/06\/12\/my-development-workflow-for-phonegap-ios-apps\/\">this blog<\/a>. (I especially love devgirl.org) I&#8217;ll update with details of my process soon!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally started to work with Phonegap plugins. This week&#8217;s assignment was to create an application with the Phonegap camera plugin. I made a simple app that takes a photo when you press a button and mark your location on Google map. I also used the Phonegap geolocation plugin as well as the Google map [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-499","post","type-post","status-publish","format-standard","hentry","category-always-on-always-connected"],"_links":{"self":[{"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/posts\/499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=499"}],"version-history":[{"count":6,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions"}],"predecessor-version":[{"id":510,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions\/510"}],"wp:attachment":[{"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=499"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/itp.fromjia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}