{"id":114,"date":"2011-06-21T00:27:06","date_gmt":"2011-06-21T00:27:06","guid":{"rendered":"http:\/\/choudhury.com\/blog\/?p=114"},"modified":"2011-06-25T19:48:07","modified_gmt":"2011-06-25T19:48:07","slug":"android-development-part-2","status":"publish","type":"post","link":"https:\/\/choudhury.com\/blog\/2011\/06\/21\/android-development-part-2\/","title":{"rendered":"Android Development Part 2"},"content":{"rendered":"<p>In the <a href=\"?p=5\">previous android post,<\/a> we setup the android environment and the android emulator. This example will use maven to build a android application. Download the <a href='https:\/\/choudhury.com\/blog\/wp-content\/uploads\/2011\/06\/helloworld.zip'>helloworld<\/a> example.<\/p>\n<p>Making sure you&#8217;ve your in the helloworld folder on the command line type:<\/p>\n<p>&#8211; To deploy to an emulator<\/p>\n<div class=\"codecolorer-container bash default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"bash codecolorer\">mvn android:emulator-start<br \/>\nmvn clean <span class=\"kw2\">install<\/span> android:deploy<\/div><\/div>\n<p>&#8211; Or to deploy to a usb connected android device<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">mvn clean install android:deploy -Dandroid.device=usb<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In the previous android post, we setup the android environment and the android emulator. This example will use maven to build a android application. Download the helloworld example. Making sure you&#8217;ve your in the helloworld folder on the command line type: &#8211; To deploy to an emulator mvn android:emulator-start mvn clean install android:deploy &#8211; Or &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/choudhury.com\/blog\/2011\/06\/21\/android-development-part-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Android Development Part 2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-android"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":12,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":123,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions\/123"}],"wp:attachment":[{"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/choudhury.com\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}