OSDN Git Service

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