OSDN Git Service

Merge "Create missing Uids when recording network stats." 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/O8i4HUw7JYA?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:1.2em;">Developer Story: <br />redBus.in</h1>
75                     <p>Bangalore-based developers redBus.in talk about how Android is helping them deliver a superior booking and travel experience to millions of daily bus riders in India.</p>
76                     </div>
77                 </li>
78                 <li class="item carousel-home">
79                     <div class="content-left col-9">
80                         <a href="{@docRoot}about/versions/jelly-bean.html"><img src="{@docRoot}images/home/android-jellybean.png" ></a>
81                     </div>
82                     <div class="content-right col-6">
83                     <h1>Android 4.2 Jelly Bean!</h1>
84                     <p>The latest version of Jelly Bean is here, with performance optimizations, a refreshed UI, and great new features for developers. </p>
85                     <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>
86                     <p><a href="{@docRoot}about/versions/jelly-bean.html" class="button">Learn More</a></p>
87                     </div>
88                 </li>
89                 <li class="item carousel-home">
90                     <div class="content-left col-10">
91                         <img src="{@docRoot}images/home/design.png" style="margin-top:30px">
92                     </div>
93                     <div class="content-right col-5">
94                     <h1>Make your Android apps<br>look great</h1>
95                     <p>New templates in the design guide make it easier than ever to design apps
96 that are beautiful and easy to use.</p>
97                     <p><a href="{@docRoot}design/index.html" class="button">Learn More</a></p>
98                     </div>
99                 </li>
100                 <li class="item carousel-home">
101                         <div class="content-left col-10">
102                             <img src="{@docRoot}images/home/google-play.png"
103                                   style="margin-top:50px">
104                         </div>
105                         <div class="content-right col-5">
106                         <h1>Publish your apps<br>in Google Play</h1>
107                         <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>
108
109                         <p><a href="{@docRoot}distribute/index.html" class="button">Learn More</a></p>
110                         </div> 
111                 </li>
112             </ul>
113         </div>
114     </div>
115     <!-- /End slideshow -->
116     
117     <a href="" id="pauseButton" style="display:none">pause</a>
118     
119     
120 </div>
121 <div class="wrap" style="padding-bottom:20px">
122     <!-- Section links -->
123     <div class="home-sections">
124         <ul>
125             <li><a href="{@docRoot}about/index.html">About Android</a></li>
126             <li><a href="{@docRoot}sdk/index.html">Get the SDK</a></li>
127             <li><a href="http://source.android.com">Open Source</a></li>
128             <li><a href="{@docRoot}support.html">Support</a></li>
129             <li class="last"><a href="{@docRoot}legal.html">Legal</a></li>
130         </ul>
131     </div>
132     <!-- /Section links -->
133 </div>