index.jd revision fe1ffc3aadf14fbd402dced74663735174e1f533
1home=true 2@jd:body 3 4 5<div id="mainBodyFixed"> 6 <div id="mainBodyLeft"> 7 <div id="homeMiddle"> 8 <div id="topAnnouncement"> 9 <div id="homeTitle"> 10 <h2>Developer Announcements</h2> 11 </div><!-- end homeTitle --> 12 <div id="announcement-block"> 13 <!-- total max width is 520px --> 14 <img src="{@docRoot}assets/images/home/gdc-logo.png" alt="Android at GDC 2010" width="203px" style="padding-left:22px;padding-bottom:28px;padding-top:22px;"/> 15 <div id="announcement" style="width:275px"> 16<p>Thanks to everyone who attended our sessions at the <a href="http://www.gdconf.com/">2010 Game Developers Conference</a> in San Francisco. We're looking forward to seeing your games running on Android!</p> 17<p><a href="http://android-developers.blogspot.com/2010/03/android-at-game-developers-conference.html">Learn more »</a></p> 18 </div> <!-- end annoucement --> 19 </div> <!-- end annoucement-block --> 20 </div><!-- end topAnnouncement --> 21 <div id="carouselMain" style="height:200px"> <!-- this height can be 22 adjusted based on the content height --> 23 </div> 24 <div class="clearer"></div> 25 <div id="carouselWheel"> 26 <div class="app-list-container" align="center"> 27 <a href="javascript:{}" id="arrow-left" onclick="" class="arrow-left-off"></a> 28 <div id="list-clip"> 29 <div style="left: 0px;" id="app-list"> 30 <!-- populated by buildCarousel() --> 31 </div> 32 </div><!-- end list-clip --> 33 <a href="javascript:{ page_right(); }" id="arrow-right" onclick="" class="arrow-right-on"></a> 34 <div class="clearer"></div> 35 </div><!-- end app-list container --> 36 </div><!-- end carouselWheel --> 37 </div><!-- end homeMiddle --> 38 39 <div style="clear:both"> </div> 40 </div><!-- end mainBodyLeft --> 41 42 <div id="mainBodyRight"> 43 <table id="rightColumn"> 44 <tr> 45 <td class="imageCell"><a href="{@docRoot}sdk/index.html"><img src="{@docRoot}assets/images/icon_download.jpg" style="padding:0" /></a></td> 46 <td> 47 <h2 class="green">Download</h2> 48 <p>The Android SDK has the tools, sample code, and docs you need to create great apps.</p> 49 <p><a href="{@docRoot}sdk/index.html">Learn more »</a></p> 50 </td> 51 </tr> 52 <tr> 53 <td colspan="2"><div class="seperator"> </div></td> 54 </tr> 55 <tr> 56 <td class="imageCell"><a href="http://www.android.com/market.html"><img src="{@docRoot}assets/images/icon_market.jpg" style="padding:0" /></a></td> 57 <td> 58 <h2 class="green">Publish</h2> 59 <p>Android Market is an open service that lets you distribute your apps to handsets.</p> 60 <p><a href="http://www.android.com/market.html">Learn more »</a></p> 61 </td> 62 </tr> 63 <tr> 64 <td colspan="2"><div class="seperator"> </div></td> 65 </tr> 66 <tr> 67 <td class="imageCell"><a href="http://source.android.com"><img src="{@docRoot}assets/images/icon_contribute.jpg" style="padding:0" /></a></td> 68 <td> 69 <h2 class="green">Contribute</h2> 70 <p>Android Open Source Project gives you access to the entire platform source.</p> 71 <p><a href="http://source.android.com">Learn more »</a></p> 72 </td> 73 </tr> 74 <tr> 75 <td colspan="2"><div class="seperator"> </div></td> 76 </tr> 77 <tr> 78 <td class="imageCell"><a 79href="{@docRoot}resources/dashboard/platform-versions.html"><img 80src="{@docRoot}images/icon_dashboard.png" style="padding:0" /></a></td> 81 <td> 82 <h2 class="green">Target Devices</h2> 83 <p>The Device Dashboard 84provides information about deployed Android devices to 85help you target suitable device configurations as you build and update your 86apps.</p> 87 <p><a 88href="{@docRoot}resources/dashboard/platform-versions.html">Learn more »</a></p> 89 </td> 90 </tr> 91 92 </table> 93 </div> 94 </div> 95 96<!--[if lte IE 6]> 97 <style> 98 #arrow-left { 99 margin:0 0 0 5px; 100 } 101 #arrow-right { 102 margin-left:0; 103 } 104 .app-list-container { 105 margin: 37px 0 0 23px; 106 } 107 div#list-clip { 108 width:468px; 109 } 110 </style> 111<![endif]--> 112 113<script type="text/javascript"> 114 115// * -- carousel dictionary -- * // 116 /* layout: imgLeft, imgRight, imgTop 117 icon: image for carousel entry. cropped (height:70px, width:90px) 118 name: string for carousel entry 119 img: image for bulletin post. cropped (height: 170, width:230px) 120 title: header for bulletin (optional, insert "" value to skip 121 desc: the bulletin post. must include html tags. 122 */ 123 124 var droidList = { 125 'sdk': { 126 'layout':"imgLeft", 127 'icon':"sdk-small.png", 128 'name':"Android 2.1", 129 'img':"sdk-large.png", 130 'title':"Android 2.1 is now available", 131 'desc': "<p>Android 2.1 is a small feature release that includes new developer APIs " 132 + "and documentation. For information about what's included in the platform, " 133 + "read the <a href='{@docRoot}sdk/android-2.1.html'>Android 2.1 " 134 + "version notes</a>.</p>" 135 + "<p>You can update your existing development environment " 136 + "by installing the Android 2.1 platform as an " 137 + "<a href='{@docRoot}sdk/adding-components.html'>SDK " 138 + "component</a>." 139 }, 140 141 'adc2': { 142 'layout':"imgLeft", 143 'icon':"adc2_s.png", 144 'name':"ADC 2", 145 'img':"adc2_l.png", 146 'title':"Android Developer Challenge 2", 147 'desc': "<p>We're pleased to announce the " 148 + "<a href='http://code.google.com/android/adc/gallery_winners.html'>winners " 149 + "of the Android Developer Challenge 2</a>! Please see our " 150 + "<a href='http://android-developers.blogspot.com/2009/11/announcing-winners-of-adc-2.html'>blog post</a> " 151 + "for full information. Thanks to everyone who participated by submitting an application or judging!</p>" 152 + "<p><a href='http://code.google.com/android/adc/'>Learn more about ADC 2 »</a></p>" 153 }, 154 155 'devphone': { 156 'layout':"imgLeft", 157 'icon':"devphone-small.png", 158 'name':"Dev Phones", 159 'img':"devphone-large.png", 160 'title':"Android Dev Phones", 161 'desc': "<p>Run and debug your Android applications directly on one of these " 162 + "device. Modify and rebuild the Android operating system, and flash it onto " 163 + "the phone. The Android Dev Phones are carrier independent, and available for " 164 + "purchase by any developer registered with <a " 165 + "href='http://market.android.com/publish'>Android Market</a>.</p><p><a " 166 + "href='/guide/developing/device.html#dev-phone-1'>Learn more about the " 167 + "Android Dev Phones »</a></p>" 168 }, 169 170 'mapskey': { 171 'layout':"imgLeft", 172 'icon':"maps-small.png", 173 'name':"Maps API Key", 174 'img':"maps-large.png", 175 'title':"Maps API Key", 176 'desc':"<p>If you're writing an Android application that uses Google Maps (with MapView), you must register your application to obtain a Maps API Key. Without the key, your maps application will not work on Android devices. Obtaining a key requires just a couple of steps.</p><p><a href='http://code.google.com/android/add-ons/google-apis/maps-overview.html'>Learn more »</a></p>" 177 }, 178 179 'io': { 180 'layout':"imgLeft", 181 'icon':"io-small.png", 182 'name':"Google I/O", 183 'img':"io-large.png", 184 'title':"Google I/O Developer Conference", 185 'desc': "<p>The Google I/O developer conference took place May 27-28 in San Francisco. If you missed the conference, you can experience the Android sessions by viewing YouTube videos.</p><p><a href='{@docRoot}videos/index.html'>See the sessions from Google I/O »</a></p>" 186 } 187 188 } 189</script> 190<script type="text/javascript" src="{@docRoot}assets/carousel.js"></script> 191<script type="text/javascript"> 192 initCarousel("sdk"); 193</script> 194