OSDN Git Service

Merge "Doc update: fix bug in Calendar Provider docs." into jb-mr1.1-docs
[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-10">
17                     <img src="{@docRoot}images/home/io-logo-2013.png" style="margin:40px 0 0">
18                     </div>
19                     <div class="content-right col-5">
20                     <h1>Google I/O 2013</h1>
21                     <p>Android will be at Google I/O on May 15-17, 2013, with sessions covering a variety of topics
22                     such as design, performance, and how to extend your app with the latest Android features.</p>
23                     <p>For more information about event details and planned sessions,
24                     stay tuned to <a
25                     href="http://google.com/+GoogleDevelopers">+Google Developers</a>.</p>
26                     <p><a href="https://developers.google.com/events/io/" class="button">Learn more</a></p>
27                     </div>
28                 </li>
29                 <li class="item carousel-home">
30                     <div class="content-left col-11" style="padding-top:65px;">
31                       <script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
32                       <div style="box-shadow: 3px 10px 18px 1px #999;width:600px;height:338px">
33                         <div id="ytapiplayer">
34                           You need Flash player 8+ and JavaScript enabled to view this video.
35                         </div>
36                         <script type="text/javascript">
37                             var params = { allowScriptAccess: "always" };
38                             var atts = { id: "ytapiplayer" };
39                             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",
40                               "ytapiplayer", "600", "338", "8", null, null, params, atts);
41
42                             // Callback used to pause/resume carousel based on video state
43                             function onytplayerStateChange(newState) {              
44                                var isPaused = $("#pauseButton").hasClass("paused");
45                                if ((newState == 1) || (newState == 3)) {
46                                // if playing or buffering, pause the carousel
47                                  if (!isPaused) {
48                                     $("#pauseButton").click();
49                                  }
50                                } else {
51                                // otherwise, make sure carousel is running
52                                  if (isPaused) {
53                                     $("#pauseButton").click();
54                                  }
55                                }
56                             }
57
58                             // Callback received when YouTube player loads to setup callback (above)
59                             function onYouTubePlayerReady(playerId) {
60                               var ytplayer = document.getElementById("ytapiplayer");
61                               ytplayer.addEventListener("onStateChange", "onytplayerStateChange");
62                             }
63
64                         </script>
65                       </div>
66                     </div>
67                     <div class="content-right col-4">
68                     <h1 style="white-space:nowrap;line-height:1em;">Developer Story: Smule</h1>
69                     <p>The creators of AutoRap, Magic Piano, and Songify talk about launching on
70                        Android and the explosive global growth they’ve seen on Google Play.</p>
71                     </div>
72                 </li>
73                 <li class="item carousel-home">
74                     <div class="content-left col-9">
75                         <a href="{@docRoot}about/versions/jelly-bean.html"><img src="{@docRoot}images/home/android-jellybean.png" ></a>
76                     </div>
77                     <div class="content-right col-6">
78                     <h1>Android 4.2 Jelly Bean!</h1>
79                     <p>The latest version of Jelly Bean is here, with performance optimizations, a refreshed UI, and great new features for developers. </p>
80                     <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>
81                     <p><a href="{@docRoot}about/versions/jelly-bean.html" class="button">Learn More</a></p>
82                     </div>
83                 </li>
84                 <li class="item carousel-home">
85                     <div class="content-left col-10">
86                         <img src="{@docRoot}images/home/design.png" style="margin-top:30px">
87                     </div>
88                     <div class="content-right col-5">
89                     <h1>Make your Android apps<br>look great</h1>
90                     <p>New templates in the design guide make it easier than ever to design apps
91 that are beautiful and easy to use.</p>
92                     <p><a href="{@docRoot}design/index.html" class="button">Learn More</a></p>
93                     </div>
94                 </li>
95                 <li class="item carousel-home">
96                         <div class="content-left col-10">
97                             <img src="{@docRoot}images/home/google-play.png"
98                                   style="margin-top:50px">
99                         </div>
100                         <div class="content-right col-5">
101                         <h1>Publish your apps<br>in Google Play</h1>
102                         <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>
103
104                         <p><a href="{@docRoot}distribute/index.html" class="button">Learn More</a></p>
105                         </div> 
106                 </li>
107             </ul>
108         </div>
109     </div>
110     <!-- /End slideshow -->
111     
112     <a href="" id="pauseButton" style="display:none">pause</a>
113     
114     
115 </div>
116 <div class="wrap" style="padding-bottom:20px">
117     <!-- Section links -->
118     <div class="home-sections">
119         <ul>
120             <li><a href="{@docRoot}about/index.html">About Android</a></li>
121             <li><a href="{@docRoot}sdk/index.html">Get the SDK</a></li>
122             <li><a href="http://source.android.com">Open Source</a></li>
123             <li><a href="{@docRoot}support.html">Support</a></li>
124             <li class="last"><a href="{@docRoot}legal.html">Legal</a></li>
125         </ul>
126     </div>
127     <!-- /Section links -->
128 </div>