{"id":275,"date":"2011-03-15T19:26:31","date_gmt":"2011-03-16T02:26:31","guid":{"rendered":"http:\/\/10kdev.ivystreetinc.com\/?p=275"},"modified":"2011-03-15T19:27:59","modified_gmt":"2011-03-16T02:27:59","slug":"developinginstalling-apps-on-android-atrix","status":"publish","type":"post","link":"http:\/\/10kdev.net\/?p=275","title":{"rendered":"Developing\/Installing apps on Android Atrix"},"content":{"rendered":"<p>I just bought an Atrix from my carrier, AT&amp;T.\u00a0 It&#8217;s a groundbreaking device: dual core processor, 1 gig ram, HDMI port.\u00a0 The battery life is stupendous.<\/p>\n<p>Anyway, first day I made a simple app from a sample I found.\u00a0 You can use either Eclipse, or NetBeans to make an Android app.<\/p>\n<p>Here&#8217;s the <strong>developer setup <\/strong>for making an Android app for Android 2.2 (Froyo I think):<\/p>\n<ul>\n<li>Unzip the Android developer toolkit on your machine.\u00a0 Start up the &#8220;android&#8221; executable in \/tools.\u00a0 Then, from that, you can install the needed Android SDK and Android SDK Tools for your version of the OS.\u00a0 For me that was android-8 sdk and revision 10 of the tools.\u00a0 Install the samples for your version too.<\/li>\n<li>Create a virtual device based on that from the Android GUI.\u00a0 No advise on that.<\/li>\n<li>Install an Android plugin into your IDE.\u00a0 Both Eclipse and NetBeans have them.\u00a0 Sorry no links but they are easy enough to find.<\/li>\n<li>Create an app, run in the emulator from your IDE via the plugin.\u00a0 Very cool.<\/li>\n<\/ul>\n<p>I made a small RssReader app\u00a0 (thanks to automateddeveloper.blogspot.com) and loaded it here:\u00a0 https:\/\/bitbucket.org\/ivystreet\/project\/src.\u00a0 This project is an Eclipse project, but I will be making a NetBeans project soon for another company I know as a marketing treat for them; hopefully its a bit better.<\/p>\n<p>At first I had a little problem loading the app (bundled into an .apk) onto my Atrix using adb.\u00a0 &#8220;adb&#8221; is the android app manager over a USB cable, command line utility.\u00a0 But actually, <strong>the solution to load apps on an Atrix via USB <\/strong>was simple:<\/p>\n<ol>\n<li>Go to Settings&#8211;&gt;Applications&#8211;&gt;Development and turn on &#8220;USB Debugging.&#8221;<\/li>\n<li>Plug in your Atrix via USB cable.<\/li>\n<li>Go to Top Menu Pulldown&#8211;&gt;USB Connection and select &#8220;USB Mass Storage.&#8221;<\/li>\n<li>In a terminal type &lt;your path to&gt;\/adb devices.\u00a0 You will see your Atrix listed.<\/li>\n<li>In the terminal type &lt;your path to&gt;\/adb install (path\/name of app).apk.<\/li>\n<\/ol>\n<p>That&#8217;s it, you have installed your application.<\/p>\n<p>Some sites want to call this &#8220;side-loading&#8221; or &#8220;hacking.&#8221;\u00a0 I kind of think the word &#8220;hacking&#8221; is something the newer dynamic language developers use in a different context than a seasoned Java developer like myself, and those terms don&#8217;t imply doing something you shouldn&#8217;t be doing anymore so don&#8217;t let them scare you.\u00a0 Using adb is a perfectly fine method to load apps and absolutely necessary for an Android\u00a0 developer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just bought an Atrix from my carrier, AT&amp;T.\u00a0 It&#8217;s a groundbreaking device: dual core processor, 1 gig ram, HDMI port.\u00a0 The battery life is stupendous. Anyway, first day I made a simple app from a sample I found.\u00a0 You can use either Eclipse, or NetBeans to make an Android app. Here&#8217;s the developer setup [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/275"}],"collection":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=275"}],"version-history":[{"count":3,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/275\/revisions"}],"predecessor-version":[{"id":278,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/275\/revisions\/278"}],"wp:attachment":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}