OSDN Git Service

Merge "CalendarView header not updated on year change." into jb-mr2-dev
[android-x86/frameworks-base.git] / docs / html / index.jd
1 fullpage=true
2 no_footer_links=true
3 carousel=true
4 page.metaDescription=The official site for Android developers. Provides the Android SDK and documentation for app developers and designers.
5 @jd:body
6
7
8 <div class="wrap">
9     <!-- Slideshow -->
10     <div class="slideshow-container slideshow-home col-16">
11         <a href="" class="slideshow-prev">Prev</a>
12         <a href="" class="slideshow-next">Next</a>
13         <div class="frame">
14             <ul>
15                 <li class="item carousel-home">
16                     <div class="content-left col-11" style="padding-top:10px;">
17                         <a href="{@docRoot}channels/io2013.html">
18                           <img src="{@docRoot}images/home/io-videos-2013.png" style="margin:60px 0 0;
19                           box-shadow: 3px 10px 18px 1px #999;">
20                         </a>
21                     </div>
22                     <div class="content-right col-4">
23                     <h1>Watch the Android talks from Google I/O</h1>
24                     <p>If you weren't able to attend Google I/O in person or couldn't make it
25                     to all the talks, you can catch up on the action
26                     with all the recordings, brought to you by
27                     <a href="http://developers.google.com/live">Google Developers Live</a>.</p>
28                     <p><a href="{@docRoot}channels/io2013.html" class="button"
29                     >See the Android talks</a></p>
30                     </div>
31                 </li>
32
33
34
35                 <li class="item carousel-home">
36                     <div class="content-left col-11" style="padding-top:65px;">
37                       <script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
38                       <div style="box-shadow: 3px 10px 18px 1px #999;width:600px;height:338px">
39                         <div id="ytapiplayer">
40                           You need Flash player 8+ and JavaScript enabled to view this video.
41                         </div>
42                         <script type="text/javascript">
43                             var params = { allowScriptAccess: "always" };
44                             var atts = { id: "ytapiplayer" };
45                             swfobject.embedSWF("//www.youtube.com/v/RRelFvc6Czo?enablejsapi=1&playerapiid=ytplayer&version=3&HD=1;rel=0;showinfo=0;modestbranding;origin=developer.android.com;autohide=1",
46                               "ytapiplayer", "600", "338", "8", null, null, params, atts);
47
48                             // Callback used to pause/resume carousel based on video state
49                             function onytplayerStateChange(newState) {              
50                                var isPaused = $("#pauseButton").hasClass("paused");
51                                if ((newState == 1) || (newState == 3)) {
52                                // if playing or buffering, pause the carousel
53                                  if (!isPaused) {
54                                     $("#pauseButton").click();
55                                  }
56                                } else {
57                                // otherwise, make sure carousel is running
58                                  if (isPaused) {
59                                     $("#pauseButton").click();
60                                  }
61                                }
62                             }
63
64                             // Callback received when YouTube player loads to setup callback (above)
65                             function onYouTubePlayerReady(playerId) {
66                               var ytplayer = document.getElementById("ytapiplayer");
67                               ytplayer.addEventListener("onStateChange", "onytplayerStateChange");
68                             }
69
70                         </script>
71                       </div>
72                     </div>
73                     <div class="content-right col-4">
74                     <h1 style="white-space:nowrap;line-height:1em;">Developer Story: Smule</h1>
75                     <p>The creators of AutoRap, Magic Piano, and Songify talk about launching on
76                        Android and the explosive global growth they’ve seen on Google Play.</p>
77                     </div>
78                 </li>
79                 <li class="item carousel-home">
80                     <div class="content-left col-9">
81                         <a href="{@docRoot}about/versions/jelly-bean.html"><img src="{@docRoot}images/home/android-jellybean.png" ></a>
82                     </div>
83                     <div class="content-right col-6">
84                     <h1>Android 4.2 Jelly Bean!</h1>
85                     <p>The latest version of Jelly Bean is here, with performance optimizations, a refreshed UI, and great new features for developers. </p>
86                     <p>Android 4.2 includes APIs for developing lock sceen widgets and Daydream screensavers, using external displays, creating RTL layouts, building flexible UI with nested Fragments, and much more.</p>
87                     <p><a href="{@docRoot}about/versions/jelly-bean.html" class="button">Learn More</a></p>
88                     </div>
89                 </li>
90                 <li class="item carousel-home">
91                     <div class="content-left col-10">
92                         <img src="{@docRoot}images/home/design.png" style="margin-top:30px">
93                     </div>
94                     <div class="content-right col-5">
95                     <h1>Make your Android apps<br>look great</h1>
96                     <p>New templates in the design guide make it easier than ever to design apps
97 that are beautiful and easy to use.</p>
98                     <p><a href="{@docRoot}design/index.html" class="button">Learn More</a></p>
99                     </div>
100                 </li>
101                 <li class="item carousel-home">
102                         <div class="content-left col-10">
103                             <img src="{@docRoot}images/home/google-play.png"
104                                   style="margin-top:50px">
105                         </div>
106                         <div class="content-right col-5">
107                         <h1>Publish your apps<br>in Google Play</h1>
108                         <p>The most visited store in the world for Android apps. Cloud-connected and always synced, it's never been easier for users to find and download your apps.</p>
109
110                         <p><a href="{@docRoot}distribute/index.html" class="button">Learn More</a></p>
111                         </div> 
112                 </li>
113             </ul>
114         </div>
115     </div>
116     <!-- /End slideshow -->
117     
118     <a href="" id="pauseButton" style="display:none">pause</a>
119     
120     
121 </div>
122 <div class="wrap" style="padding-bottom:20px">
123     <!-- Section links -->
124     <div class="home-sections">
125         <ul>
126             <li><a href="{@docRoot}about/index.html">About Android</a></li>
127             <li><a href="{@docRoot}sdk/index.html">Get the SDK</a></li>
128             <li><a href="http://source.android.com">Open Source</a></li>
129             <li><a href="{@docRoot}support.html">Support</a></li>
130             <li class="last"><a href="{@docRoot}legal.html">Legal</a></li>
131         </ul>
132     </div>
133     <!-- /Section links -->
134 </div>